• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Nagoya.R #6 LT Beanplot
 

Nagoya.R #6 LT Beanplot

on

  • 1,315 views

 

Statistics

Views

Total Views
1,315
Views on SlideShare
1,315
Embed Views
0

Actions

Likes
3
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

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 #6 LT Beanplot Nagoya.R #6 LT Beanplot Presentation Transcript

    • 2011/08/27 Nagoya.R #6 @Saturday, August 27, 2011 1
    • Saturday, August 27, 2011 2
    • • ID: sakaue • : ... ... • Nagoya.R / Hiroshima.R • Osaka.R #5, #6 • ...Saturday, August 27, 2011 3
    • Saturday, August 27, 2011 4
    • ... • •( ∀ ) !! • •Saturday, August 27, 2011 5
    • AgendaSaturday, August 27, 2011 6
    • AgendaSaturday, August 27, 2011 7
    • 1. • box-and-whisker plot [Tukey, 1977] • • •3 • ...Saturday, August 27, 2011 8
    • 1. • boxplot() • usage: boxplot(x, horizontal=TRUE) • horizontalSaturday, August 27, 2011 9
    • 1. 8 20Saturday, August 27, 2011 10
    • 1. 1.5 8 20Saturday, August 27, 2011 11
    • 1. > x <- read.csv(sample.csv) > boxplot(x[,1]) > boxplot(x[,1], horizontal=TRUE)Saturday, August 27, 2011 12
    • 1.Saturday, August 27, 2011 13
    • AgendaSaturday, August 27, 2011 14
    • AgendaSaturday, August 27, 2011 15
    • 2. beanplot ( ∀ ) !! • • • • • beanplotSaturday, August 27, 2011 16
    • 2. beanplot ( ∀ ) !! > library(beanplot) > g <- rnorm(200,mean=0,sd=1) > bm <- c(rnorm(100,mean=-1,sd=0.5),rnorm (100,mean=1,sd=0.5)) > uni <- runif(200,min=-2,max=2) > d = data.frame(uni=uni,bm=bm,gaus=g) > par(mfrow = c(1,2)) > boxplot(d, col = "lightblue") > beanplot(d, col = "lightpink") drkcore Beanplot Boxplot http://blog.kzfmix.com/entry/1306409057Saturday, August 27, 2011 17
    • Saturday, August 27, 2011 18
    • Saturday, August 27, 2011 19
    • 2. beanplot ( ∀ ) !! ...Saturday, August 27, 2011 20
    • 2. beanplot ( ∀ ) !! beanplot ... ...Saturday, August 27, 2011 21
    • 2. beanplot ( ∀ ) !! beanplotSaturday, August 27, 2011 22
    • AgendaSaturday, August 27, 2011 23
    • AgendaSaturday, August 27, 2011 24
    • 3. tips: • windowsFonts() • (?) • ... > windowsFonts(JP1=windowsFont("MS Gothic"),JP2=windowsFont("MS Mincho"))Saturday, August 27, 2011 25
    • 3. tips: • xaxt="n" • • X •Y yaxt="n"Saturday, August 27, 2011 26
    • 3. tips: > x <- read.csv("hoge.csv") # CSV > par(family="JP2", ps=16) # MS Mincho ps > boxplot(x, horizontal=TRUE, xaxt="n") # X > axis(1, family="serif", ps=12) #X serif Time New RomanSaturday, August 27, 2011 27
    • beanplotSaturday, August 27, 2011 28
    • Saturday, August 27, 2011 30
    • twitter: @sakaue e-mail: tsakaue<at>hiroshima-u.ac.jpSaturday, August 27, 2011 31