More Related Content
Similar to ggplot2できれいなグラフ
Similar to ggplot2できれいなグラフ (20)
More from Daisuke Ichikawa
More from Daisuke Ichikawa (13)
ggplot2できれいなグラフ
- 5. …
http://had.co.nz/ggplot2/
ggplot2
Tsukuba.R
http://www.slideshare.net/syou6162/tsukuba
5
- 10. 1. ggplot()
ggplot(data=mtcars, aes(x=wt, y=mpg))
data
aes aesthetic
…
x,y
10
- 13. ggplot(data=mtcars,
aes(x=wt, y=mpg))
+geom_point(aes(colour=c
yl))
+stat_smooth(method=”lm
”)
13
- 14. 3.stat
…
stat_smooth(method=”lm”)
14
- 21. ggplot2
→ (geom_contour)
2 y 2
21