SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
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
Agenda




Saturday, August 27, 2011            6
Agenda




Saturday, August 27, 2011            7
1.

               •                 box-and-whisker plot [Tukey, 1977]

               •
                            •
                            •3
               •                                 ...


Saturday, August 27, 2011                                             8
1.


         • boxplot()
               • usage: boxplot(x, horizontal=TRUE)
               • horizontal

Saturday, August 27, 2011                             9
1.




                            8   20


Saturday, August 27, 2011            10
1.
                                     1.5




                            8   20


Saturday, 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
Agenda




Saturday, August 27, 2011            14
Agenda




Saturday, August 27, 2011            15
2. beanplot   ( ∀        ) !!

               •
                            •
                            •
               •
               •                   beanplot


Saturday, 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/1306409057



Saturday, 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   ( ∀   ) !!




                                   beanplot


Saturday, August 27, 2011                       22
Agenda




Saturday, August 27, 2011            23
Agenda




Saturday, 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 Roman



Saturday, August 27, 2011                                    27
beanplot


Saturday, August 27, 2011              28
Saturday, August 27, 2011   30
twitter: @sakaue

                            e-mail: tsakaue<at>hiroshima-u.ac.jp




Saturday, August 27, 2011                                          31

Contenu connexe

Plus de SAKAUE, Tatsuya

MethokenOkinawa_Sakaue_LearnerCorpus
MethokenOkinawa_Sakaue_LearnerCorpusMethokenOkinawa_Sakaue_LearnerCorpus
MethokenOkinawa_Sakaue_LearnerCorpus
SAKAUE, Tatsuya
 
Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」
Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」
Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」
SAKAUE, Tatsuya
 
LET2012 ワークショップ「R による教育・言語データ処理のススメ」
LET2012 ワークショップ「R による教育・言語データ処理のススメ」LET2012 ワークショップ「R による教育・言語データ処理のススメ」
LET2012 ワークショップ「R による教育・言語データ処理のススメ」
SAKAUE, Tatsuya
 
授業外で個別学習を促進するためのポッドキャスト利用
授業外で個別学習を促進するためのポッドキャスト利用授業外で個別学習を促進するためのポッドキャスト利用
授業外で個別学習を促進するためのポッドキャスト利用
SAKAUE, Tatsuya
 
Osaka.R #7 LT: フォントのオハナシ
Osaka.R #7 LT: フォントのオハナシOsaka.R #7 LT: フォントのオハナシ
Osaka.R #7 LT: フォントのオハナシ
SAKAUE, Tatsuya
 

Plus de SAKAUE, Tatsuya (20)

HiRoshimaR6_ExplodingBoxplot
HiRoshimaR6_ExplodingBoxplotHiRoshimaR6_ExplodingBoxplot
HiRoshimaR6_ExplodingBoxplot
 
HiroshimaR6_Introduction
HiroshimaR6_IntroductionHiroshimaR6_Introduction
HiroshimaR6_Introduction
 
HiroshimaR5_Intro
HiroshimaR5_IntroHiroshimaR5_Intro
HiroshimaR5_Intro
 
JASELE2015-KumamotoWS
JASELE2015-KumamotoWSJASELE2015-KumamotoWS
JASELE2015-KumamotoWS
 
HiroshimaR4_LT_sakaue
HiroshimaR4_LT_sakaueHiroshimaR4_LT_sakaue
HiroshimaR4_LT_sakaue
 
Hiroshimar4_Rintro
Hiroshimar4_RintroHiroshimar4_Rintro
Hiroshimar4_Rintro
 
Hiroshimar3_rmecab
Hiroshimar3_rmecabHiroshimar3_rmecab
Hiroshimar3_rmecab
 
HiRoshimaR3_IntroR
HiRoshimaR3_IntroRHiRoshimaR3_IntroR
HiRoshimaR3_IntroR
 
MethokenOkinawa_Sakaue_LearnerCorpus
MethokenOkinawa_Sakaue_LearnerCorpusMethokenOkinawa_Sakaue_LearnerCorpus
MethokenOkinawa_Sakaue_LearnerCorpus
 
外国語教育メディア学会第54回全国研究大会ワークショップ「Rによる外国語教育データの分析と可視化の基本」
外国語教育メディア学会第54回全国研究大会ワークショップ「Rによる外国語教育データの分析と可視化の基本」外国語教育メディア学会第54回全国研究大会ワークショップ「Rによる外国語教育データの分析と可視化の基本」
外国語教育メディア学会第54回全国研究大会ワークショップ「Rによる外国語教育データの分析と可視化の基本」
 
統計解析環境Rによる統計処理の基本―検定と視覚化―
統計解析環境Rによる統計処理の基本―検定と視覚化―統計解析環境Rによる統計処理の基本―検定と視覚化―
統計解析環境Rによる統計処理の基本―検定と視覚化―
 
ポッドキャスト利用による個別学習の支援とリスニング不安への影響
ポッドキャスト利用による個別学習の支援とリスニング不安への影響ポッドキャスト利用による個別学習の支援とリスニング不安への影響
ポッドキャスト利用による個別学習の支援とリスニング不安への影響
 
Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」
Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」
Nagoya.R #10 LT 「グラフはベクタ(ベクトル)画像で出力しようじゃありませんか」
 
ベクタ画像と PNG 画像の比較
ベクタ画像と PNG 画像の比較ベクタ画像と PNG 画像の比較
ベクタ画像と PNG 画像の比較
 
反応時間データをどう分析し図示するか
反応時間データをどう分析し図示するか反応時間データをどう分析し図示するか
反応時間データをどう分析し図示するか
 
LET2012 ワークショップ「R による教育・言語データ処理のススメ」
LET2012 ワークショップ「R による教育・言語データ処理のススメ」LET2012 ワークショップ「R による教育・言語データ処理のススメ」
LET2012 ワークショップ「R による教育・言語データ処理のススメ」
 
授業外で個別学習を促進するためのポッドキャスト利用
授業外で個別学習を促進するためのポッドキャスト利用授業外で個別学習を促進するためのポッドキャスト利用
授業外で個別学習を促進するためのポッドキャスト利用
 
R のインストール手順(LET 2012用)
R のインストール手順(LET 2012用)R のインストール手順(LET 2012用)
R のインストール手順(LET 2012用)
 
Nagoya.R #8 入門者講習資料
Nagoya.R #8 入門者講習資料Nagoya.R #8 入門者講習資料
Nagoya.R #8 入門者講習資料
 
Osaka.R #7 LT: フォントのオハナシ
Osaka.R #7 LT: フォントのオハナシOsaka.R #7 LT: フォントのオハナシ
Osaka.R #7 LT: フォントのオハナシ
 

Dernier

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Dernier (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

Nagoya.R #6 LT Beanplot

  • 1. 2011/08/27 Nagoya.R #6 @ Saturday, August 27, 2011 1
  • 3. ID: sakaue • : ... ... • Nagoya.R / Hiroshima.R • Osaka.R #5, #6 • ... Saturday, August 27, 2011 3
  • 5. ... • •( ∀ ) !! • • Saturday, August 27, 2011 5
  • 8. 1. • box-and-whisker plot [Tukey, 1977] • • •3 • ... Saturday, August 27, 2011 8
  • 9. 1. • boxplot() • usage: boxplot(x, horizontal=TRUE) • horizontal Saturday, August 27, 2011 9
  • 10. 1. 8 20 Saturday, August 27, 2011 10
  • 11. 1. 1.5 8 20 Saturday, August 27, 2011 11
  • 12. 1. > x <- read.csv(sample.csv) > boxplot(x[,1]) > boxplot(x[,1], horizontal=TRUE) Saturday, August 27, 2011 12
  • 16. 2. beanplot ( ∀ ) !! • • • • • beanplot Saturday, August 27, 2011 16
  • 17. 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/1306409057 Saturday, August 27, 2011 17
  • 20. 2. beanplot ( ∀ ) !! ... Saturday, August 27, 2011 20
  • 21. 2. beanplot ( ∀ ) !! beanplot ... ... Saturday, August 27, 2011 21
  • 22. 2. beanplot ( ∀ ) !! beanplot Saturday, August 27, 2011 22
  • 25. 3. tips: • windowsFonts() • (?) • ... > windowsFonts(JP1=windowsFont("MS Gothic"),JP2=windowsFont("MS Mincho")) Saturday, August 27, 2011 25
  • 26. 3. tips: • xaxt="n" • • X •Y yaxt="n" Saturday, August 27, 2011 26
  • 27. 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 Roman Saturday, August 27, 2011 27
  • 30. twitter: @sakaue e-mail: tsakaue<at>hiroshima-u.ac.jp Saturday, August 27, 2011 31