
Draw parameters with random effects
Source:R/draw_parameters_options.R
draw_parameters_random_fx.Rd
Draws parameters directly from model_pars
for the antibody model with random effects. Parameters are drawn randomly from a distribution with mean and standard deviation specified within model_pars
.
Arguments
- i
individual
- t
time
- x
exposure
- b
biomarker
- demography
demography information
- biomarker_states
an array of true biomarker quantities for all individuals across all time steps and biomarkers
- model_pars
tibble of biomarker (antibody) kinetics parameters with variables: 1) exposure_id: numeric exposure ID; 2) biomarker_id: numeric biomarker ID; 3) name: the character name of the parameter; 4) mean: numeric mean of this parameter distribution; 5) sd: the numeric standard deviation of the parameter distribution; 6) distribution: character description of the parameter distribution type (e.g., log-normal, normal)
- ...
Additional arguments