Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. ggplot(data = iris) +
  2. stat_identity(aes(x = Sepal.Length, y = Sepal.Width) , geom= "point")
  3.  
  4. ggplot(data = iris) +
  5. stat_boxplot(aes(x=Species, y = Sepal.Length, ymax = ..upper.., ymin = ..lower..), geom = "errorbar")
  6.  
  7. ggplot(data = iris) +
  8. stat_boxplot(aes(x=Species, y = ..upper..) , geom = "point")
  9.  
  10. ggplot(data = iris) +
  11. stat_boxplot(aes(x=Species, y = Sepal.Length) , geom = "point")
  12.  
  13. Error: geom_point requires the following missing aesthetics: y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement