sirv_fn: Workhorse Function for 'sirv()'

Description Usage Arguments Value

View source: R/sirv.R

Description

sirv_fn() updates derivatives for the sirv() function. It is passed to the func parameter of ode().

Usage

1
sirv_fn(t, y, params, ...)

Arguments

t

numeric. The current timestep.

y

numeric. A named vector of current states.

params

numeric. A named vector of input parameters.

...

Additional arguments; currently unused.

Value

A list with containing a numeric vector of output derivatives for the state components


jesse-smith/covidModel documentation built on Feb. 21, 2022, 3:23 p.m.