makeLasagna: Pre-process data for lasagna plot

Description Usage Arguments Author(s)

View source: R/makeLasagna.R

Description

Internal method that takes a dataframe of observed data with an outcome matrix and user-selected covariate, sorts outcome by the selected covariate, and assigns heights to each row based on value of the selected covariate. The resulting dataframe is used with bakeLasagna() to create lasagna plot.

Usage

1
makeLasagna(data, outcome, covariate = NULL)

Arguments

data

Dataset for lasagna plot.

outcome

Matrix of values where each row represents a functional observation.

covariate

User-selected covariate for sorting the rows in the lasagna plot. Defaults to NULL, in which case data is sorted by row number.

Author(s)

Julia Wrobel jw3134@cumc.columbia.edu

Nicole Marie Lapointe Jameson


refunders/refund.shiny documentation built on Aug. 20, 2020, 12:43 p.m.