Guest User

Untitled

a guest
Jan 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. ggplot(diamonds, aes(cut, price)) +
  2. geom_boxplot() +
  3. stat_summary(fun.y=mean, geom="point", shape=5, size=2, colour='black')+
  4. coord_trans(y="log10")
  5.  
  6.  
  7. ggplot(diamonds, aes(cut, price)) +
  8. geom_boxplot() +
  9. coord_trans(x="log10")+
  10. stat_summary(fun.y=mean, geom="point", shape=5, size=2, colour='black')+
  11. coord_flip()
Add Comment
Please, Sign In to add comment