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

# NOT RUN { library(UpSetR) airquality %>% as_shadow_upset() %>% upset() # }