solve_de: solve_de

Description Usage Arguments Value

View source: R/de_solver.R

Description

solve_de

Usage

1
2
3
solve_de(sim, params, inits, Tmax, numsteps = 10000, solver = "ode",
  sizestep = NULL, verbose = FALSE, data.times = NULL, method = "lsoda",
  ...)

Arguments

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 numsteps or sizesteps.

method

solver method

...

additional arguments to solver

Value

integrated ode object. Data structure depends on the employed solver.


pboesu/debinfer documentation built on April 20, 2018, 4:34 a.m.