Learn R Programming

simecol (version 0.5-5)

lv3: Lotka-Volterra-Type Model with Resource, Prey and Predator

Description

simecol example: predator prey-model with three equations: predator, prey and resource (e.g. nutriens, grassland).

Usage

data(lv3)

Arguments

See Also

simecol-package, sim, parms, init, times.

Examples

Run this code
data(lv3)
    plot(sim(lv3))
    solver(lv3) <- "lsoda"
    plot(sim(lv3))         # wrong! automatic time step overlooks internal inputs
    plot(sim(lv3, hmax=1)) # integration with correct maximum time step

Run the code above in your browser using DataLab