solve_ode {simode}R Documentation

Ordinary differential equations solver

Description

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

Usage

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.


[Package simode version 1.2.2 Index]