View source: R/stratification.R
add_scale_pars | R Documentation |
Adds entries to par_tab to stratify parameters by requested stratification levels. antibody_data and timevarying_demographics are used to find how many levels of each stratification have been requested
add_scale_pars(
par_tab,
antibody_data,
timevarying_demographics = NULL,
scale_par_lower = -25,
scale_par_upper = 25
)
par_tab |
the parameter table, including a column called stratification which is NA if no stratification is requested, for with a character value matching an entry in antibody_data or timevarying_demographics |
antibody_data |
the antibody data data frame, see |
timevarying_demographics |
a data frame of timevarying demographics, with columns individual, time and any stratification variables. If NULL, then uses antibody_data |
scale_par_lower |
the lower bound of any used scale parameters |
scale_par_upper |
the upper bound of any used scale parameters |
the updated par_tab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.