Weitere ähnliche Inhalte
Mehr von SAKAUE, Tatsuya (20)
Kürzlich hochgeladen (20)
HiRoshima.R #2 LT by @sakaue
- 1. Hi oshima.
Lightning Talks
Friday, February 10, 12 1
- 3. 0.
• (SAKAUE, Tatsuya)
• : ...
• Nagoya.R / HiRoshima.R
• ID: sakaue
• ...
Friday, February 10, 12 4
- 5. Agenda
1.
2.
3.
Friday, February 10, 12 7
- 6. Agenda
1.
2.
3.
Friday, February 10, 12 8
- 8. 1.
•
•
•
Friday, February 10, 12 10
- 9. Agenda
1.
2.
3.
Friday, February 10, 12 11
- 10. Agenda
1.
2.
3.
Friday, February 10, 12 12
- 11. 2.
•
•
•
Friday, February 10, 12 13
- 12. plot
> x <- 1:10
> y <- 1:10
> plot(x, y) #
> plot(x, y, xlim=c(10,1))
Friday, February 10, 12 14
- 13. > x <- rnorm(10)
# 0 1 10
> plot(x, type=”l”)
# type l
Friday, February 10, 12 15
- 14. (1)
> barplot(1:10)
# 10
> barplot(1:10, col=rainbow(5))
# col rainbow(5) 5
> barplot(1:10, col=rainbow(5), horiz=T)
# horiz T
Friday, February 10, 12 16
- 15. (2)
> barplot(1:5, col=rainbow(5), horiz=T,
names=c("s1", "s2", "s3", "s4", "s5"),
main="SAMPLE")
#5
Friday, February 10, 12 17
- 16. > pdf() # pdf ()
> plot(1:10) # → Rplots.pdf
> dev.o () #
Friday, February 10, 12 18
- 17. Agenda
1.
2.
3.
Friday, February 10, 12 19
- 18. Agenda
1.
2.
3.
Friday, February 10, 12 20
- 20. Package
•
• base 1,000
• package
• ex. RMeCab
Friday, February 10, 12 22
- 22. ggplot2
> install.packages(“ggplot2”)
> library(“ggplot2”)
> data(iris)
> p <- ggplot(iris, aes(Sepal.Width, Sepal.Length))
#ggplot aes
> p + geom_point()
# ”+”
Friday, February 10, 12 24
- 23. URL
• http://d.hatena.ne.jp/triadsou/20100528/1275042816
• http://d.hatena.ne.jp/dichika/20110106/1294322948
• http://f-n.daa.jp/2011/10/22/ggplot2/
• http://ito-hi.blog.so-net.ne.jp/2009-09-23
• http://d.hatena.ne.jp/Rion778/20091024/1256364275
Friday, February 10, 12 25
- 27. R ver.3
http://cse.naro.a rc.go.jp/takezawa/r-tips/r.html
Friday, February 10, 12 29
- 28. Excel
SPSS
Friday, February 10, 12 30
- 29. twitter: @sakaue
e-mail: tsakaue<AT>hiroshima-u.ac.jp
Friday, February 10, 12 31