
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)
a data.frame
a data.frame
if (FALSE) {
library(UpSetR)
airquality %>%
as_shadow_upset() %>%
upset()
}
Run the code above in your browser using DataLab