model_trajectory_cpp: Model trajectory calc cpp

Description Usage Arguments Value See Also Examples

View source: R/RcppExports.R

Description

Calculates the ferret model trajectory for a single infection event. Uses a Cpp implementation for speed. Need to obey order of parameters as in the example. Run parameter_descriptions for documentation of the model parameter vector

Usage

1
model_trajectory_cpp(pars, times)

Arguments

pars

the vector of model parameters

times

the vector of time in days to solve over

Value

a vector of antibody titres

See Also

Other model functions: model_func_groups, model_func, model_trajectory

Examples

1
2
3
4
5
6
7
pars <- c("lower_bound"=0,"S"=1,"EA"=0,"MAX_TITRE"=13,
          "mu"=8,"tp"=12,"dp"=0.5,"ts"=10,"m"=0.003,"beta"=0.6, "c"=4,
          "sigma"=1,"y0_mod"=-20,"boost_limit"=-1,"tau"=0.05,
          "order"=1, "primed"=0,"mod"=1,
          "x"=0,"t_i"=10,"y0"=0,"eff_y0"=0)
times <- seq(0,100,by=1)
y <- model_trajectory_cpp(pars,times)

jameshay218/antibodyKinetics documentation built on Nov. 8, 2019, 11 a.m.