solveSEIRModel_rlsoda: Solve SEIR model with rlsoda

View source: R/incidence_functions.R

solveSEIRModel_rlsodaR Documentation

Solve SEIR 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 uses rlsoda which must be manually downloaded from GitHub.

Usage

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

Arguments

ts

Vector of time points.

init

Vector of initial conditions for system of equations.

pars

Vector of labeled SEIR model parameters.

compatible

A Boolean variable indicating if 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(), solveSEIRswitch_rlsoda_wrapper(), solveSEIRswitch_rlsoda()

Examples

FIX ME


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