Upset plots are a way of visualising common sets, this function transforms the data into a format that feeds directly into an upset plot

as_shadow_upset(data)

Arguments

data

a data.frame

Value

a data.frame

Examples

if (FALSE) { library(UpSetR) airquality %>% as_shadow_upset() %>% upset() }