Internal method used in conjunction with makeLasagna()
to create side-by-side lasagna plot and distribution plot.
The distribution plot gives distribution of sorting covariate.
bakeLasagna(data, data.long, covariate = NULL)
Dataset for lasagna plot. Same data used in makeLasagna()
function.
Sorted longform dataset for lasagna plot output by makeLasagna()
function.
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