Currently on dev version of ggplot2 and plotly geom_smooth
does not work:
library(dplyr) library(ggplot2) library(plotly) g <- data.frame(x=c(23.2,22.8),y=c(17.7,16.3),company=c('a','b')) %>% ggplot(aes(x=x,y=y,text=company)) + geom_point() + geom_smooth() ggplotly(g, tooltip='text')This bug didn't fix yet. I wonder if there is other ggplot2 way to create regreesion line. Do you have any idea?
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.
Error in `$<-.data.frame`(`*tmp*`, "alpha", value = 1) :
replacement has 1 row, data has 0
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsubscribe...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
הודעה קךאסית של "אין מספיק נתונים" נסה להריץ עם יותר נתונים בכל קבוצה. כמו כן אפשר להשתמש ב geom_abline כשבשורה שלפני תריץ רגרסיה לינארית בעצמך.