Description Usage Arguments Value See Also
Calculates model trajectories for multiple groups
1 2 | model_func_groups(parTab, cr_table, order_tab, exposures, strains, times,
version = 0, cross_reactivity = FALSE, typing = FALSE)
|
parTab |
the parameter table containing at least a column for values
column and names which can be used to solve |
cr_table |
the cross reactivity part of the parameter table, with values and names for the exposure strain, the measured strain, and the antigenic distance (x) |
order_tab |
the table for parameters modifying boosting based on infection order (antigenic seniority) |
exposures |
the table for exposure types and times |
strains |
a vector with the names of all of the strains involved in the model |
times |
a vector of times to solve the model over |
version |
0 for isolated, 1 for competitive |
cross_reactivity |
if TRUE, uses cross reactivity parameters to infer expected titres against heterologous strains |
typing |
if TRUE, uses parameters corresponding to the exposure type rather than exposure index |
a table of antibody titres for the given times, with a column for times, group and colnames of the measured strain
model_func_isolated
for next level, link{model_trajectory}
for model solving code
Other model functions: model_func
,
model_trajectory_cpp
,
model_trajectory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.