10min r study_tokyor25

Click here to load reader

  • date post

    19-Jun-2015
  • Category

    Documents

  • view

    5.994
  • download

    0

Embed Size (px)

Transcript of 10min r study_tokyor25

  • 1. 10R

2. R R R R 3. R R R R 4. Twitterdoradora09 Web R R120uniqsort 5. max18 6. R R R R 7. R 8. R () R () 1SPSS 10 C++ () 9. GooglefacebookGoogleFacebookRhttp://pracmper.blogspot.jp/2010/01/googlefacebookr.htmlGoogleGoogle12RR4PythonC++ 10. R 2000(wiki, , ) // / / / // / / 11. R R R R 12. R Windows, Mac, Linux rjpwikiOS URLhttp://cran.md.tsukuba.ac.jp/bin/wind Windowsows/base/ Mac, Linux http://cran.md.tsukuba.ac.jp/ 13. RR R 14. RR R 15. R R R R 16. R 17. R > 3+5 # [1] 8 > 10-3 # [1] 7 > 2*3 # [1] 6 > 20/4 # [1] 5 > > 5^2#52 [1] 25 > 13 %% 5 #135() [1] 3 18. R > sum(10,20,30) # [1] 60 > sqrt(16) #16 [1] 4 > date() # [1] "Fri May 25 09:48:09 2012" 19. R plot > plot(c(10,20,30)) 20. R values values # [1] 10 20 30 > sum(values) #sum [1] 60 21. R > hawks hawks #() [,1] [,2] [1,] 173 17000 [2,] 178 14000 [3,] 189 9000 [4,] 183 50000 [5,] 182 30000 22. R > hawks # [,1] [,2] [1,] 173 17000 [2,] 178 14000 [3,] 189 9000 [4,] 183 50000 [5,] 182 30000 > hawks[1,] #1 [1] 173 17000 > hawks[,1] #1 [1] 173 178 189 183 182 > hawks[3,2] #32 [1] 9000 23. R > hawks # [,1] [,2] [1,] 173 17000 [2,] 178 14000 [3,] 189 9000 [4,] 183 50000 [5,] 182 30000 > hawks[1,] #1 [1] 173 17000 > hawks[,1] #1 [1] 173 178 189 183 182 > hawks[3,2] #32 [1] 9000 24. R > hawks # [,1] [,2] [1,] 173 17000 [2,] 178 14000 [3,] 189 9000 [4,] 183 50000 [5,] 182 30000 > hawks[1,] #1 [1] 173 17000 > hawks[,1] #1 [1] 173 178 189 183 182 > hawks[3,2] #32 [1] 9000 25. RCSV > hawks2 hawks2 #height salary 1 173 17000 2 178 14000 3 180 9000 4 183 50000 5 182 30000 26. R function() > varp hawks2[,1] # [1] 173 178 180 183 182 > varp(hawks2[,1]) # [1] 12.56 27. RCRAN() > install.packages(ggplot2) # > library("ggplot2") # 28. Rggplot2qplot > qplot(salary, height, data = hawks2, colour = I("blue")) 29. R??, ?, help()> ?qplot 30. R R R R 31. seekR http://d.hatena.ne.jp/a_bicky/20110529/1306667230 R R 32. rjpwiki http://www.okada.jp.org/RWiki/ RwikiQ&A 33. Rhttp://lab.sakaue.info/wiki.cgi/JapanR2010?page=FrontPageTokyo.R 34. RSQL http://d.hatena.ne.jp/a_bicky/20110529/1306667230 a_bickyDB 35. R-Chart http://www.r-chart.com/ R 36. R R R R 37. R Windows, Mac, Linux plot CSV SeekR 38. 39.