HiRoshima.R #2 LT by @sakaue

1,717 views

Published on

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,717
On SlideShare
0
From Embeds
0
Number of Embeds
85
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

HiRoshima.R #2 LT by @sakaue

  1. 1. Hi oshima. Lightning TalksFriday, February 10, 12 1
  2. 2. 2012-02-11 HiRoshima.R #2 @ Hiroshima Univ.Friday, February 10, 12 2
  3. 3. 0. • (SAKAUE, Tatsuya) • : ... • Nagoya.R / HiRoshima.R • ID: sakaue • ...Friday, February 10, 12 4
  4. 4. Friday, February 10, 12 5
  5. 5. Agenda 1. 2. 3.Friday, February 10, 12 7
  6. 6. Agenda 1. 2. 3.Friday, February 10, 12 8
  7. 7. 1.Friday, February 10, 12 9
  8. 8. 1. • • •Friday, February 10, 12 10
  9. 9. Agenda 1. 2. 3.Friday, February 10, 12 11
  10. 10. Agenda 1. 2. 3.Friday, February 10, 12 12
  11. 11. 2. • • •Friday, February 10, 12 13
  12. 12. plot > x <- 1:10 > y <- 1:10 > plot(x, y) # > plot(x, y, xlim=c(10,1))Friday, February 10, 12 14
  13. 13. > x <- rnorm(10) # 0 1 10 > plot(x, type=”l”) # type lFriday, February 10, 12 15
  14. 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 TFriday, February 10, 12 16
  15. 15. (2) > barplot(1:5, col=rainbow(5), horiz=T, names=c("s1", "s2", "s3", "s4", "s5"), main="SAMPLE") #5Friday, February 10, 12 17
  16. 16. > pdf() # pdf () > plot(1:10) # → Rplots.pdf > dev.o () #Friday, February 10, 12 18
  17. 17. Agenda 1. 2. 3.Friday, February 10, 12 19
  18. 18. Agenda 1. 2. 3.Friday, February 10, 12 20
  19. 19. PackageFriday, February 10, 12 21
  20. 20. Package • • base 1,000 • package • ex. RMeCabFriday, February 10, 12 22
  21. 21. ggplot2Friday, February 10, 12 23
  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. 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/1256364275Friday, February 10, 12 25
  24. 24. plot(), barplot(), boxplot() type, col, pch, pdf(), jpeg()Friday, February 10, 12 26
  25. 25. ( `д ´)Friday, February 10, 12 27
  26. 26. One more thing...Friday, February 10, 12 28
  27. 27. R ver.3 http://cse.naro.a rc.go.jp/takezawa/r-tips/r.htmlFriday, February 10, 12 29
  28. 28. Excel SPSSFriday, February 10, 12 30
  29. 29. twitter: @sakaue e-mail: tsakaue<AT>hiroshima-u.ac.jpFriday, February 10, 12 31

×