df_col_loss: Simulate deterministic dynamics of N patches with dispersal...

View source: R/ecostatscale.R

df_col_lossR Documentation

Simulate deterministic dynamics of N patches with dispersal and loss

Description

Helper function for symdynN, used to simulate dynamics between disturbance events. Note that K is set to 1 for all species.

Usage

df_col_loss(time, state, pars)

Arguments

time

time step - ignored, but required for consistency with ode function

state

vector of current states

pars

parameter list, including matrix A with full interaction matrix (and growth rates along the diagonal), and a value Ifrac, which is the dispersal rate (D in the main text), and Ksim, which is the carrying capacity, and Iloss which is the loss rate.

Value

rate of change for each species


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