Biphasic antibody boosting-waning model. This model assumes that for each exposure there is a set of long-term boost, long-term waning, short-term boost, and short-term waning parameters
antibody_model_biphasic(
i,
t1,
b,
immune_histories,
biomarker_states,
kinetics_parameters,
biomarker_map,
...
)
individual
time
biomarker
An array of immune histories across all individuals, time steps and exposure IDs
An array of biomarker states (biomarker quantities) across all individuals, time steps and biomarker IDs
A tibble of parameters needed for the antibody kinetics model for all biomarkers
A table specifying the relationship between exposure IDs and biomarker IDs
Additional arguments
A biomarker quantity is returned
model_pars <- reformat_biomarker_map(example_model_pars_biphasic)
tmp_pars <- list()
tmp_pars[[1]] <- draw_parameters_fixed_fx_biomarker_dep(1,1,1,NULL, NULL,model_pars)
antibody_model_biphasic(1,1,1,example_immune_histories_wide, example_biomarker_states_wide,
tmp_pars, model_pars)
#> [1] 0.07500098