model_func_groups: Multiple group model trajectory

Description Usage Arguments Value See Also

View source: R/model.R

Description

Calculates model trajectories for multiple groups

Usage

1
2
model_func_groups(parTab, cr_table, order_tab, exposures, strains, times,
  version = 0, cross_reactivity = FALSE, typing = FALSE)

Arguments

parTab

the parameter table containing at least a column for values column and names which can be used to solve model_trajectory

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

Value

a table of antibody titres for the given times, with a column for times, group and colnames of the measured strain

See Also

model_func_isolated for next level, link{model_trajectory} for model solving code

Other model functions: model_func, model_trajectory_cpp, model_trajectory


jameshay218/antibodyKinetics documentation built on Nov. 8, 2019, 11 a.m.