solveSEIRswitch_rlsoda: Solve SEIR switch model with rlsoda

View source: R/incidence_functions.R

solveSEIRswitch_rlsodaR Documentation

Solve SEIR switch model with rlsoda

Description

This function solves the SEIR ODEs for a series of time points and returns a matrix of the solved values. It takes into account models in which R0 changes with time. rlsoda must be manually downloaded from GitHub.

Usage

solveSEIRswitch_rlsoda(ts, init, pars, compatible = FALSE)

Arguments

ts

Vector of time points for incidence calculation.

init

Vector of labeled initial conditions for system of equations.

pars

Vector of labeled SEIR model parameters.

compatible

A Boolean variable indicating whether results should be transposed in deSolve compatible format. Set to FALSE by default.

Value

Returns matrix of class deSolve containing solutions for SEIR ODEs for each time in ts.

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_wrapper()

Examples

FIX ME


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