Description Usage Arguments Value See Also Examples
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
1 | model_trajectory_cpp(pars, times)
|
pars |
the vector of model parameters |
times |
the vector of time in days to solve over |
a vector of antibody titres
Other model functions: model_func_groups
,
model_func
, model_trajectory
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.