Skip to contents

Biphasic antibody boosting-waning model. This model assumes that for each exposure there is a set of long-term boost, long-term boost waning, short-term boost, and short-term boost waning parameters

Usage

antibody_model_biphasic(
  i,
  t1,
  b,
  exposure_histories,
  biomarker_states,
  kinetics_parameters,
  biomarker_map,
  ...
)

Arguments

i

Individual

t1

time

b

biomarker

exposure_histories

An array of exposure 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

A biomarker quantity is returned

Examples

model_pars <- reformat_biomarker_map(example_model_pars_biphasic)
tmp_pars <- list()
tmp_pars[[1]] <- draw_parameters_fixed_fx_biomarker_dep(1,1,1,1,NULL, NULL, model_pars)
antibody_model_biphasic(1,1,1,example_exposure_histories_wide, example_biomarker_states_wide, 
tmp_pars, example_biomarker_map_numeric)
#> [1] 0