plotly.R icon indicating copy to clipboard operation
plotly.R copied to clipboard

no applicable method for 'group_by' applied to an object of class "waiver"

Open jrbarber37 opened this issue 2 years ago • 0 comments

I am getting this error with the following code that has not changed: no applicable method for 'group_by' applied to an object of class "waiver"

Final_UConn_Shot_Charts_Prod <- data.frame(Final_UConn_Shot_Charts_Prod)

  p <- NCAA_Court +
    geom_point(size = 2, data = Final_UConn_Shot_Charts_Prod, 
               aes(x=shot_x, y=shot_y, shape = shot_team, color = shot_outcome)) +
    scale_colour_manual(
      values = c("green", "red")) +
   
  labs(title = "UConn Men's Basketball Shot Chart vs All Teams (Home Team on Top Court)")
  ggplotly(p,height = 1200, width=800)
  

jrbarber37 avatar Jun 08 '23 21:06 jrbarber37