Transcript of "Introduction to "R" for Language Researchers"
1.
40 SAKAUE Akkuş Tatsuya 2011-12-17Tuesday, December 6, 11 1
2.
Agenda 1. R 2. 3. 4. 5. RTuesday, December 6, 11 7
3.
Agenda 1. R 2. 3. 4. 5. RTuesday, December 6, 11 8
4.
• • Ross Ihaka & Robert Gentleman (R & R) • Ross Ihaka and Robert Gentleman. R: A language for data analysis and graphics. Journal of Computational and Graphical Statistics, 5(3):299-314, 1996. • http://biostat.mc.vanderbilt.edu/twiki/pub/Main/Je reyHorner/JCGSR.pdf •Tuesday, December 6, 11 9
8.
-Install / Update / Uninstall-Tuesday, December 6, 11 14
9.
1. http://www.r-project.org/ 2. “download R” 3. JAPAN 4. OSTuesday, December 6, 11 15
10.
• Windows: : http://cran.md.tsukuba.ac.jp/bin/windows/base/ • Download R 2.14.0 for Windows • Mac OS X: http://cran.md.tsukuba.ac.jp/bin/macosx/ • R-2.14.0.pkg (latest version)Tuesday, December 6, 11 16
90.
t > like <- c(6,10,6,10,7,8,7,9,10,4) > dislike <- c(3,5,6,4,4,8,4,5,4,7) > t.test(like,dislike,var.equal=TRUE)Tuesday, December 6, 11 98
91.
t > t.test(like,dislike,var.equal=TRUE) Two Sample t-test data: like and dislike t = 3.3041, df = 18, p-value = 0.003946 alternative hypothesis: true difference in means is not equal to 0 # 95 percent confidence interval: # 0.9831754 4.4168246 sample estimates: mean of x mean of y 7.7 5.0Tuesday, December 6, 11 99
Be the first to comment