odemodel: Dynamic model

Description Usage Arguments Value References Examples

View source: R/simulation_functions.R

Description

This function generates the mathematical formulation for the dynamic model.

Usage

1
odemodel(time, y, params)

Arguments

time

Vector of simulation times.

y

Dynamic variables.

params

Parameter matrix, the Jacobian.

Value

Model object for input into the ode() function from the deSolve library.

References

https://www.jstatsoft.org/article/view/v033i09

Examples

1
out <- ode(y=ic, times=time, parms=J, func=odemodel, method=lsoda)

WarrenDavidAnderson/dynamicNetworkID documentation built on May 23, 2019, 4:23 p.m.