xtN: Simulate deterministic dynamics

View source: R/ecostatscale.R

xtNR Documentation

Simulate deterministic dynamics

Description

Helper function for symdynN. Simulate an ODE given parameters, starting value, and times.

Usage

xtN(t0, t1, B0, odepars, dffun, nsteps = 2)

Arguments

t0

initial time step

t1

desired time step

B0

initial abundance

odepars

parameter list

dffun

function for calculating derivatives

nsteps

number of time steps to return - defaults to 2

Value

a matrix of species abundances


ecostatscale documentation built on Oct. 23, 2023, 1:06 a.m.