Identical to antibody_model_monophasic, but implemented in Cpp

antibody_model_monophasic_cpp(
  i,
  t1,
  b,
  immune_histories,
  biomarker_states,
  kinetics_parameters,
  biomarker_map,
  ...
)

Arguments

i

individual

t1

time

b

biomarker

immune_histories

An array of immune histories across all individuals, time steps and exposure IDs

biomarker_states

An array of biomarker states (biomarker quantities) across all individuals, time steps and biomarker IDs

kinetics_parameters

A tibble of parameters needed for the antibody kinetics model for all biomarkers

biomarker_map

A table specifying the relationship between exposure IDs and biomarker IDs

...

Additional arguments

Value

Biomarker quantity at the specified time point

Examples

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