Learn R Programming

naniar (version 1.0.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)

Value

a data.frame

Arguments

data

a data.frame

Examples

Run this code

if (FALSE) {

library(UpSetR)
airquality %>%
  as_shadow_upset() %>%
  upset()
}

Run the code above in your browser using DataLab