Learn R Programming

simecol (version 0.3-11)

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

sim, parms, init, times.

Examples

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

Run the code above in your browser using DataLab