Scatterplot matrices with categorical data boxes

I am a big fan of SPLOMs

Does anyone know SPLOM packages that can support categorical data boxes? It looks weird when you have scatterplots for columns like gender

+5
source share
1 answer

You can use the package GGally, it supports many functions.

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"))

enter image description here

+12
source

All Articles