Skip to contents

Power law antibody boosting and waning model

Usage

antibody_model_typhoid(
  i,
  t,
  b,
  exposure_histories = NULL,
  biomarker_states = NULL,
  kinetics_parameters,
  biomarker_map = NULL,
  ...
)

Arguments

i

Individual

t

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

tmp_pars <- list()
tmp_pars[[1]] <- draw_parameters_random_fx(1,1,1,1,NULL,NULL,example_model_pars_typhoid)
tmp_exposure_history <- array(0,dim=c(1,11,2))
tmp_exposure_history[1,1,1] <- 1
antibody_model_typhoid(1,10, 1, tmp_exposure_history, NULL, tmp_pars,example_biomarker_map_numeric)
#> [1] 200.7676