Nagoya.R #1 Part 1
Upcoming SlideShare
Loading in...5
×
 

Nagoya.R #1 Part 1

on

  • 1,409 views

 

Statistics

Views

Total Views
1,409
Views on SlideShare
1,373
Embed Views
36

Actions

Likes
0
Downloads
12
Comments
0

2 Embeds 36

http://d.hatena.ne.jp 33
http://www.slideshare.net 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Nagoya.R #1 Part 1 Nagoya.R #1 Part 1 Presentation Transcript

  • R — — Nagoya.R #1 2010-03-26 Saturday, March 27, 2010
  • • ( ) • • R R • Nagoya.R ... Saturday, March 27, 2010
  • Agenda 1. R 2. R 3. Saturday, March 27, 2010
  • Agenda 1. R 2. R 3. Saturday, March 27, 2010
  • R • • Ross Ihaka & Robert Gentleman (R & R) • Saturday, March 27, 2010
  • R Saturday, March 27, 2010
  • R • IBM SPSS Statistics 10 • • Saturday, March 27, 2010
  • R • • • • PC Saturday, March 27, 2010
  • Excel SPSS ... • IBM SPSS Statistics 10 • • Excel • Saturday, March 27, 2010
  • R R Saturday, March 27, 2010
  • R 1. http://www.r-project.org/ 2. “download R” 3. JAPAN 4. OS Saturday, March 27, 2010
  • R Windows: http://cran.md.tsukuba.ac.jp/bin/windows/base/ ■ Download R 2.10.1 for Windows ■ Mac OS X: http://cran.md.tsukuba.ac.jp/bin/macosx/ R-2.10.1.pkg (latest version) Saturday, March 27, 2010
  • R 1. http://www.r-project.org/ 2. 3. Saturday, March 27, 2010
  • R • Windows • START → Program → R → Uninstall R • Mac OS X /Applications R /Library/Frameworks R. framework Saturday, March 27, 2010
  • R • Windows • START → Program → R → R 2.10.1 • Mac OS X /Applications R R Saturday, March 27, 2010
  • R • Windows Mac OS X 1. q() 2. 3. R Saturday, March 27, 2010
  • R • • Win • [ ]→[GUI ] • Font [MS Mincho] [MS Gothic] Saturday, March 27, 2010
  • R • help(XXX) !! • 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, March 27, 2010
  • 1. R • R • • q() • help(XXX) !! Saturday, March 27, 2010
  • 1. R R R Saturday, March 27, 2010
  • Agenda 1. R 2. R 3. Saturday, March 27, 2010
  • Agenda 1. R 2. R 3. Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • • [Enter] • > 3+5 [Enter] • > 10-3 [Enter] • > 2*3 [Enter] • > 100/20 [Enter] • > (12 + 34 -56) * 78 / 90 [Enter] Saturday, March 27, 2010
  • • • > 100^1/2 • > 100^(1/2) Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • R Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • sqrt() • > sqrt(2) • > sqrt(144) • > sqrt(104976) •[ ]2 • 2 3 1 • > 2^(1/3) Saturday, March 27, 2010
  • ( ) • R • q() help(xxx) • Saturday, March 27, 2010
  • R Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • R Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • “hako” • > hako <- c(1,2,3,4,5) • > hako • c() concatenate • Saturday, March 27, 2010
  • hako 1 5 5 Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • • > sqrt(hako) • > log(hako) Saturday, March 27, 2010
  • sqrt(1), sqrt(2) ... sqrt(5) log(1), log (2) ... log (5) Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • 2. R • R • • q(), help(), sqrt(), log(), c() • Saturday, March 27, 2010
  • ... Saturday, March 27, 2010
  • Agenda 1. R 2. R 3. Saturday, March 27, 2010
  • Agenda 1. R 2. R 3. Saturday, March 27, 2010
  • ... Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • • • • • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • (15,000) Saturday, March 27, 2010
  • (300) Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • ※ Nagoya.R #2 Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • • • • Saturday, March 27, 2010
  • • ÷ • • Saturday, March 27, 2010
  • • • Saturday, March 27, 2010
  • ... Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • ... Saturday, March 27, 2010
  • Saturday, March 27, 2010
  • • • • etc. Saturday, March 27, 2010
  • R Saturday, March 27, 2010
  • • summary() • table() • sum() • length() Saturday, March 27, 2010
  • • mean() • max(), min() • median() • sd() Saturday, March 27, 2010
  • ... Saturday, March 27, 2010
  • 10 TOEIC 600, 500, 720, 430, 500, 550, 430, 500, 850, 400 1. “score” 2. Saturday, March 27, 2010
  • OK Saturday, March 27, 2010
  • 10 TOEIC 600, 500, 720, 430, 500, 550, 430, 500, 850, 400 1. “score” 2. Saturday, March 27, 2010
  • • > score <- c(600,500,720,430,500, 550,430,500,850,400) • > summary(score) • > mean(score) • > max(score) • > min(score) • > median(score) • > sd(score) Saturday, March 27, 2010
  • Saturday, March 27, 2010