Learn R Programming

naniar (version 0.6.0)

as_shadow_upset: Convert data into shadow format for doing an upset plot

Description

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

Usage

as_shadow_upset(data)

Arguments

data

a data.frame

Value

a data.frame

Examples

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

Run the code above in your browser using DataLab