Draw Time Series Plot for Percent Change in Lab Values from Baseline
Source:R/patient_profile_charts.R
drawPercentChange.Rd
Draw Time Series Plot for Percent Change in Lab Values from Baseline
Usage
drawPercentChange(
adlb,
settings,
labs = c("Creatinine", "Cystatin C"),
KDIGO_reference_ranges = TRUE
)
Arguments
- adlb
lab data in tall format that must contain DY for study day, VISITN for visit number, TEST for lab test, and STRESN for lab value
- settings
settings object with column mappings
- labs
character string or character vector specifying which labs from TEST to include
- KDIGO_reference_ranges
boolean for whether or not to include horizontal lines denoting KDIGO reference ranges