R でboxplot
boxplot (箱ひげ図) はサンプルの散らばり具合を目視で容易に理解できる図である。
偏りが示されないなどいトラップがあるため、使用は注意を払いたい。
#必要なアプリの起動
>library(Rcmdr)
>library(boxplot)
#データの読み込み
Dataset <- readXL("[file pass]", rownames=TRUE, header=TRUE, na="", sheet="[excel sheet name]", stringsAsFactors=TRUE)
#入力例
#Dataset <- readXL("C:/spore_comparison.xlsx", rownames=TRUE, header=TRUE, na="", sheet="Sheet1", stringsAsFactors=TRUE)
#beanplotの出力
boxplot([変数(raw name)]~[層別プロット名], data=Dataset, col="lightblue", id=list(method="y"))
#入力例
#boxplot(変数~層別のプロット名, data=Dataset, col="lightblue", id=list(method="y"), cut=0)
出力された図をIllustrator などで整形。