makeLasagna | R Documentation |
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.
makeLasagna(data, outcome, covariate = NULL)
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. |
Julia Wrobel julia.wrobel@cuanschutz.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.