Uploaded on

 

More in: Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,531
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
13
Comments
0
Likes
2

Embeds 0

No embeds

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. Methoken. LET 2011 1 @ 3F CALL-2 2011-07-16Saturday, July 16, 2011 1
  • 2. Saturday, July 16, 2011 2
  • 3. • ID: sakaue • : ... ... • Nagoya.R / HiRoshima.R • LET.R? (08/06) • ...Saturday, July 16, 2011 3
  • 4. Saturday, July 16, 2011 4
  • 5. R (Saturday, July 16, 2011 5
  • 6. “Surprise” by Jeremy Books http://www.flickr.com/photos/jeremybrooks/3330306480/Saturday, July 16, 2011 6
  • 7. “...O is for OK...”by ĐāżŦ {bad contact, no biscuit} http://www.flickr.com/photos/darrentunnicliff/3695621678/Saturday, July 16, 2011 7
  • 8. Agenda 1. R 2. 3.Saturday, July 16, 2011 8
  • 9. Agenda 1. R 2. 3.Saturday, July 16, 2011 9
  • 10. • • Ross Ihaka & Robert Gentleman (R & R) •Saturday, July 16, 2011 10
  • 11. Saturday, July 16, 2011 11
  • 12. • IBM SPSS Statistics 10 • •Saturday, July 16, 2011 12
  • 13. • • • • • PCSaturday, July 16, 2011 13
  • 14. UgeeeeeeeeeSaturday, July 16, 2011 14
  • 15. Excel SPSS ... • IBM SPSS Statistics 10 • • Excel •Saturday, July 16, 2011 15
  • 16. Excel SPSSSaturday, July 16, 2011 16
  • 17. —Install / Update / Uninstall—Saturday, July 16, 2011 17
  • 18. 1. http://www.r-project.org/ 2. “download R” 3. JAPAN 4. OSSaturday, July 16, 2011 18
  • 19. • Windows: http://cran.md.tsukuba.ac.jp/bin/windows/base/ • Download R 2.13.0 for Windows • Mac OS X: http://cran.md.tsukuba.ac.jp/bin/macosx/ • R-2.13.0.pkg (latest version)Saturday, July 16, 2011 19
  • 20. Saturday, July 16, 2011 20
  • 21. Saturday, July 16, 2011 21
  • 22. Saturday, July 16, 2011 22
  • 23. Saturday, July 16, 2011 23
  • 24. Saturday, July 16, 2011 24
  • 25. Saturday, July 16, 2011 25
  • 26. 1. http://www.r-project.org/ 2. 3.Saturday, July 16, 2011 26
  • 27. • Windows • START → Program → R → Uninstall R • [Windows 7] → • Mac OS X • /Applications R / Library/Frameworks R. frameworkSaturday, July 16, 2011 27
  • 28. • Windows • START → Program → R → R 2.13.0 • Mac OS X • /Applications R RSaturday, July 16, 2011 28
  • 29. • Windows Mac OS X 1. q() 2. 3. RSaturday, July 16, 2011 29
  • 30. • • Win • [ ]→[GUI ] • Font [MS Mincho]Saturday, July 16, 2011 30
  • 31. • help(XXX) !! • seekR (http://seekr.jp/) • R SEEK (http://www.rseek.org/) • RjpWiki (http://www.okada.jp.org/RWiki/) •R (http://aoki2.si.gunma-u.ac.jp/R/) • R-Tips (http://cse.naro.affrc.go.jp/takezawa/r-tips/r.html)Saturday, July 16, 2011 31
  • 32. • R • • q() • help(XXX) !!Saturday, July 16, 2011 32
  • 33. Excel SPSSSaturday, July 16, 2011 33
  • 34. Agenda 1. R 2. 3.Saturday, July 16, 2011 34
  • 35. Agenda 1. R 2. 3.Saturday, July 16, 2011 35
  • 36. Saturday, July 16, 2011 36
  • 37. • [Enter] • > 3+5 [Enter] • > 10-3 [Enter] • > 2*3 [Enter] • > 100/20 [Enter] • > (12 + 34 -56) * 78 / 90 [Enter]Saturday, July 16, 2011 37
  • 38. • • > 100^1/2 • > 100^(1/2)Saturday, July 16, 2011 38
  • 39. Saturday, July 16, 2011 39
  • 40. Saturday, July 16, 2011 40
  • 41. Saturday, July 16, 2011 41
  • 42. “I dont know !” by fmgbain http://www.flickr.com/photos/fmgbain/4382010455/Saturday, July 16, 2011 42
  • 43. Saturday, July 16, 2011 43
  • 44. sqrt() •> sqrt(2) • > sqrt(144) •> sqrt(104976) •[ ]2 • 2 3 1 • > 2^(1/3)Saturday, July 16, 2011 44
  • 45. ( ) • R • q() help(xxx) •Saturday, July 16, 2011 45
  • 46. Saturday, July 16, 2011 46
  • 47. Saturday, July 16, 2011 47
  • 48. RSaturday, July 16, 2011 48
  • 49. Saturday, July 16, 2011 49
  • 50. Saturday, July 16, 2011 50
  • 51. “I dont know !” by fmgbain http://www.flickr.com/photos/fmgbain/4382010455/Saturday, July 16, 2011 51
  • 52. Saturday, July 16, 2011 52
  • 53. “hako” • > hako <- c(1,2,3,4,5) • > hako • c() concatenate/combine •Saturday, July 16, 2011 53
  • 54. c() “<-” hako <- c(1,2,3,4,5) “<-” ←Saturday, July 16, 2011 54
  • 55. + ... • [Enter] • [STOP] • [Esc]Saturday, July 16, 2011 55
  • 56. hako 1 5 5Saturday, July 16, 2011 56
  • 57. Saturday, July 16, 2011 57
  • 58. • > sqrt(hako) • > log(hako)Saturday, July 16, 2011 58
  • 59. sqrt(1), sqrt(2) ... sqrt(5) log(1), log (2) ... log (5)Saturday, July 16, 2011 59
  • 60. Saturday, July 16, 2011 60
  • 61. Saturday, July 16, 2011 61
  • 62. • summary() • table() • sum() • length()Saturday, July 16, 2011 62
  • 63. • mean() • max(), min() • median() • sd()Saturday, July 16, 2011 63
  • 64. • R • • q(), help(), sqrt(), log(), c() •Saturday, July 16, 2011 64
  • 65. OKSaturday, July 16, 2011 65
  • 66. Agenda 1. R 2. 3.Saturday, July 16, 2011 66
  • 67. Agenda 1. R 2. 3.Saturday, July 16, 2011 67
  • 68. Saturday, July 16, 2011 68
  • 69. Saturday, July 16, 2011 69
  • 70. 1. 2.Saturday, July 16, 2011 70
  • 71. 2 Excel SPSS ... orzSaturday, July 16, 2011 71
  • 72. Saturday, July 16, 2011 72
  • 73. > height <- c(160, 160, 160, 165, 170, 170, 170, 170, 175, 175, 180, 185, 185, 185, 190) > hist(height)Saturday, July 16, 2011 73
  • 74. TOEICSaturday, July 16, 2011 74
  • 75. > score <- c(600, 500, 720, 430, 500, 550, 430, 500, 850, 400) > words <- c(340, 190, 465, 170, 130, 225,140, 310, 580, 120) > plot(score,words)Saturday, July 16, 2011 75
  • 76. Saturday, July 16, 2011 76
  • 77. > nns <- c(350, 285, 315, 340, 210, 185, 120, 740, 425, 155) > ns <- c(365, 570, 645, 540, 645, 665, 880, 550, 410, 585) > boxplot(nns,ns, names=c("NNS", "NS"))Saturday, July 16, 2011 77
  • 78. Saturday, July 16, 2011 78
  • 79. > share <- c(32.4, 21.0, 8.3, 4.1, 3.6,30.5) > names(share) <- c("NOKIA", "SAMSUNG", "LG", "Apple", "RIM", "Others") > pie(share,main="Mobile Phone Market Share", clockwise=TRUE)Saturday, July 16, 2011 79
  • 80. 1. 2.Saturday, July 16, 2011 80
  • 81. Excel “y2.d175 | Lasershow! Relax!” by B Rosen http://www.flickr.com/photos/rosengrant/4751386872/Saturday, July 16, 2011 81