foodwebode {soilfoodwebs}R Documentation

A function to simulation the food webs away from equilibrium.

Description

A function to simulation the food webs away from equilibrium.

Usage

foodwebode(t, y, pars)

Arguments

t

The ODE time.

y

The ODE simulation start.

pars

The ODE parameters.

Details

The food web model ode for simulating the model over time: requires y inputs and pars parameters from the getPARAMS function. The function can handle a detritus decomposition experiment as set up by either getPARAMS or CNsim. The only pools with nitrogen values are the detritus, because all others have fixed C:N ratios.

Value

The changes in each node biomass along with parameters and mineralization rates.

See Also

Use this function inside CNsim, stability2, and calculate_inputs. See the documentation for these functions.


[Package soilfoodwebs version 1.0.2 Index]