R/antibody_models.R
antibody_model_monophasic_cpp.Rd
Identical to antibody_model_monophasic
, but implemented in Cpp
antibody_model_monophasic_cpp(
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
Biomarker quantity at the specified time point
Other antibody_models:
antibody_model_biphasic_cpp()
,
antibody_model_biphasic_cross_reactivity()
,
antibody_model_biphasic()
,
antibody_model_monophasic_cross_reactivity()
,
antibody_model_monophasic()
,
antibody_model_typhoid()
tmp_pars <- list()
tmp_pars[[1]] <- draw_parameters_fixed_fx(1,1,1,NULL, NULL, example_model_pars_numeric)
antibody_model_monophasic_cpp(1,1,1,example_immune_histories_wide, example_biomarker_states_wide,tmp_pars, example_biomarker_map_numeric)
#> [1] 4