solve_de
solve_de( sim, params, inits, Tmax, numsteps = 10000, solver = "ode", sizestep = NULL, verbose = FALSE, data.times = NULL, method = "lsoda", ... )
sim | function; solver compatible specification of the DE |
---|---|
params | numeric; named vector of parameter values |
inits | numeric; initial values. Must be in the same order as specified within sim! |
Tmax | numeric; maximum timestep |
numsteps | numeric |
solver | Choice of solver to use 1 or "ode" = deSolve::ode, 2 or "dde" = PBSddesolve::dde, 3 or "dede" = deSolve::dede |
sizestep | for solver |
verbose | passed to deSolve::ode |
data.times | numeric a vector of times at which the ODE is to be evaluated. Defaults to NULL. If value is supplied it takes precedence over any value supplied to |
method | solver method |
... | additional arguments to solver |
integrated ode object. Data structure depends on the employed solver.