2016-02-20 HiRoshima.R #6 LT session @ Hiroshima University
爆発箱ひげ図
まずはこちらを
ご覧ください
http://rpubs.com/Abresler/exploding_box_function
http://rpubs.com/Abresler/exploding_box_function
exploding boxplot!
初出は D3.js (?)
(D3: Data-Driven Documents)
http://mcaule.github.io/d3_exploding_boxplot/
でも爆発させたいですよね?
https://gist.github.com/abresler/9a0c1b2785dfdaf9545d
作者さまの GitHub へ!!
う,動かない…!!
別の作者さまの GitHub へ!!
https://github.com/timelyportfolio/explodingboxplotR
#install.packages(“devtools")
library(devtools)
# get newest htmlwidgets
devtools::install_github(“ramnathv/htmlwidgets")
devtools::install_github("timelyportfolio/explodingboxplotR")
#読み込むのはこっちだけでOK
library(explodingboxplotR)
GitHub 内の package 利用手順
できた!!
まとめ
• 紙媒体なら現実的に…
• boxplot + beeswarm / violin plot
• Web (HTML) での公開が OK なら…
• explosion boxplot はいいかも!
Enjoy !
twitter: @sakaue
e-mail: tsakaue<AT>hiroshima-u.ac.jp

HiRoshimaR6_ExplodingBoxplot