Scatterplot矩阵与分类数据的箱线图

Zek*_*erg 6 statistics r

我是SPLOM的粉丝

有谁知道可以支持分类数据箱图的SPLOM包?当你有像"性别"这样的列的散点图时,这看起来很奇怪

dic*_*koa 13

你可以使用这个GGally包,它支持很多功能.

require(GGally)
data(tips)
tips.sample <- tips[ ,c("total_bill", "tip", "day")]

ggpairs(tips.sample, upper = list(continuous = "points", combo = "box"), 
                     lower = list(continuous = "points", combo = "box"))
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述