solve_ode: Ordinary differential equations solver

Description Usage Arguments Value

View source: R/utils.R

Description

A wrapper for the ode function that solves a system of ordinary differential equations described using symbolic equations.

Usage

1
solve_ode(equations, pars, x0, time, xvars = NULL, ...)

Arguments

equations

The equations describing the ODE system. See simode.

pars

The parameter values. Named according to their names in equations.

x0

The initial conditions. Named accroding to the names of equations.

time

The time points for which the ODE variables' values will be computed.

xvars

External observations of time-dependant variables refered to in equations

...

Additional argument(s) for methods.

Value

A matrix whose first column contains the given time points and subsequent columns hold the computed ODE equations' values at these time points.


simode documentation built on July 1, 2020, 10:30 p.m.