lvsimdata.time {capn} | R Documentation |
Prey-Predator (Lotka-Volterra) example in LV dataset
Description
The lvsimdata.time
provides the time simulation data in LV
dataset to simulate prey-predator (Lotka-Volterra) model. The original code was written by Joshua Abbott in MATLAB and Seong Do Yun adapted it to a package example. The prey-predator model is:
Prey ():
, and
Predator ():
.
The parameters are given as:
: intrinsic growth rate for prey,
: carrying capacity for prey,
: predator-related mortality parameter for prey,
: predator/prey uptake parameter for predator,
: natural mortality for predator,
: slope for linear predator harvest control rule, and
: slope for linear prey harvest control rule
The predator with no economic value (unharvested) is designed for the economic program as:
.
The paramters are:
: price per unit harvest of predator,
: price per unit harvest of prey,
: cost /per unit of prey effort in Schaefer model (really c/q with q=1), and
: cost per unit of predator effort in Schaefer model (really c/q with q=1).
Usage
## Load dataset
data("lvdata")
Format
lvsimdata.time: a data for time simulation (101 ODE solution)
-
tseq
time sequence from 0 to 100 -
xs
prey stock -
ys
predator stock