check_demographics | R Documentation |
Checks the entries of demographics data frame used for parameter stratification
check_demographics(demographics, par_tab = NULL, verbose = FALSE)
demographics |
the data frame of demographics data. Must have columns: individual (integer ID of individual); birth (numeric time of birth); any other columns also in par_tab$stratification will be checked. |
par_tab |
Optional: the parameter table controlling information such as bounds, initial values etc. If included, this will be used to check that the demographics data is consistent with the data. |
verbose |
if TRUE, prints warning messages |
the same data object with corrections if needed
Other check_inputs:
check_attack_rates()
,
check_data()
,
check_inf_hist()
,
check_par_tab()
,
check_proposals()
data(example_antibody_data)
check_data(example_antibody_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.