The PredatorPrey model (Predator-Prey Lotka-Volterra with logistic equation for prey)

Description

Predator-Prey Lotka-Volterra model (with logistic prey)

Usage

1
2
3
  predator.prey.model(grH = 1, kH = 10, mrH = 0.2,
    eff = 0.5, mrA = 0.2, H0 = 1, A0 = 2, duration = 200,
    dt = 1, method = "euler")

Arguments

grH

: relative rate of prey population growth

kH

: environment carrying capacity for prey (number per ha)

mrH

: maximum predation rate (number per predator and per prey per day)

eff

: efficiency, growth of predator population depending on predation (-)

mrA

: mortality of predator (-)

H0

: size of population of prey, at time 0

A0

: size of population of predator, at time 0

duration

: simulation duration

dt

: time step for integration

method

: integration method

Value

data.frame with daily H and A

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.