bakeLasagna: Create side-by-side lasagna plot and density plot

View source: R/bakeLasagna.R

bakeLasagnaR Documentation

Create side-by-side lasagna plot and density plot

Description

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.

Usage

bakeLasagna(data, data.long, covariate = NULL)

Arguments

data

Dataset for lasagna plot. Same data used in makeLasagna() function.

data.long

Sorted longform dataset for lasagna plot output by makeLasagna() function.

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 julia.wrobel@cuanschutz.edu


refunders/refund.shiny documentation built on Feb. 18, 2024, 8:43 a.m.