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

as_shadow_upsetR Documentation

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


## Not run: 

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

## End(Not run)


naniar documentation built on May 29, 2024, 1:43 a.m.