HiRoshima.R #2 LT by @sakaue
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,551
On Slideshare
1,472
From Embeds
79
Number of Embeds
1

Actions

Shares
Downloads
10
Comments
0
Likes
0

Embeds 79

http://d.hatena.ne.jp 79

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Hi oshima. Lightning TalksFriday, February 10, 12 1
  • 2. 2012-02-11 HiRoshima.R #2 @ Hiroshima Univ.Friday, February 10, 12 2
  • 3. 0. • (SAKAUE, Tatsuya) • : ... • Nagoya.R / HiRoshima.R • ID: sakaue • ...Friday, February 10, 12 4
  • 4. Friday, February 10, 12 5
  • 5. Agenda 1. 2. 3.Friday, February 10, 12 7
  • 6. Agenda 1. 2. 3.Friday, February 10, 12 8
  • 7. 1.Friday, February 10, 12 9
  • 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 lFriday, 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 TFriday, February 10, 12 16
  • 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. > 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
  • 19. PackageFriday, February 10, 12 21
  • 20. Package • • base 1,000 • package • ex. RMeCabFriday, February 10, 12 22
  • 21. ggplot2Friday, February 10, 12 23
  • 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/1256364275Friday, February 10, 12 25
  • 24. plot(), barplot(), boxplot() type, col, pch, pdf(), jpeg()Friday, February 10, 12 26
  • 25. ( `д ´)Friday, February 10, 12 27
  • 26. One more thing...Friday, February 10, 12 28
  • 27. R ver.3 http://cse.naro.a rc.go.jp/takezawa/r-tips/r.htmlFriday, February 10, 12 29
  • 28. Excel SPSSFriday, February 10, 12 30
  • 29. twitter: @sakaue e-mail: tsakaue<AT>hiroshima-u.ac.jpFriday, February 10, 12 31