solveSEIRswitch_rlsoda_wrapper: Wrapper function for the solveSEIRswitch_rlsoda code, which...

View source: R/incidence_functions.R

solveSEIRswitch_rlsoda_wrapperR Documentation

Wrapper function for the solveSEIRswitch_rlsoda code, which is written in C.

Description

This function returns a vector of incidence values for given times according to SEIR model parameters. This function takes into account models in which R0 changes over time. Note that rlsoda solves the model faster than lsoda from the deSolve package but is not available on CRAN and must be downloaded manually from GitHub.

Usage

solveSEIRswitch_rlsoda_wrapper(pars, times)

Arguments

pars

Vector of labeled SEIR model parameters.

times

Time points for incidence calculation.

Value

Returns incidence values for given points in time.

Author(s)

James Hay, jameshay218@gmail.com

See Also

Other incidence functions: SEEIRRModel(), detectable_SEEIRRModel(), detectable_SEIRModel(), exponential_growth_model(), gaussian_process_model(), reverse_gp_model(), solveSEEIRRModel_rlsoda_wrapper(), solveSEEIRRModel_rlsoda(), solveSEIRModel_lsoda_wrapper(), solveSEIRModel_lsoda(), solveSEIRModel_rlsoda_wrapper(), solveSEIRModel_rlsoda(), solveSEIRswitch_rlsoda()

Examples

FIX ME


jameshay218/virosolver documentation built on April 17, 2025, 2:57 p.m.