Successfully reported this slideshow.
Your SlideShare is downloading. ×

ggplot2できれいなグラフ

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 23 Ad
Advertisement

More Related Content

Similar to ggplot2できれいなグラフ (20)

Advertisement
Advertisement

Recently uploaded (20)

ggplot2できれいなグラフ

  1. 1. ggplot2 @dichika 1
  2. 2. @dichika 2
  3. 3. R ? ggplot2 3
  4. 4. ggplot2 4
  5. 5. … http://had.co.nz/ggplot2/ ggplot2 Tsukuba.R http://www.slideshare.net/syou6162/tsukuba 5
  6. 6. 6
  7. 7. ggplot2 R base lattice 7
  8. 8. ggplot2 1. ggplot 2.geom 3.stat 4.opts 8
  9. 9. mtcars 11 32 (mpg) (wt) 9
  10. 10. 1. ggplot() ggplot(data=mtcars, aes(x=wt, y=mpg)) data aes aesthetic … x,y 10
  11. 11. 2.geom ggplot() geom_point() ggplot ' ' 11
  12. 12. ggplot(data=mtcars, aes(x=wt, y=mpg)) +geom_point() 12
  13. 13. ggplot(data=mtcars, aes(x=wt, y=mpg)) +geom_point(aes(colour=c yl)) +stat_smooth(method=”lm ”) 13
  14. 14. 3.stat … stat_smooth(method=”lm”) 14
  15. 15. +stat_smooth(method=”lm ”) 95 15
  16. 16. 4.opts, labs 16
  17. 17. +labs(x=”xlabel”, y=”ylabel”, colour=”legend”) 17
  18. 18. +opts(plot.title=”Motor Trend Car Road Tests”) 18
  19. 19. facet, scale, coord facet scale coord ( ) 19
  20. 20. qplot qplot quick plot qplot(mtcars, wt, mpeg, geom”point”) ggplot() layer qplot 20
  21. 21. ggplot2 → (geom_contour) 2 y 2 21
  22. 22. twitter 22
  23. 23. 23

Editor's Notes
























×