search for: growthprey

Displaying 1 result from an estimated 1 matches for "growthprey".

2016 Apr 26
0
vectors of equations in ode / desolve
...LVmod <- function(Time, State, Pars) { with(as.list(c(State, Pars)), { # Now there are different species of Prey so Prey is a one dimensional vector, #Ingestion is also a one-dimensional vector. The number of species is not defined a priory Ingestion <- rIng * Prey * Predator GrowthPrey <- rGrow * Prey * (1 - Prey/K) MortPredator <- rMort * Predator dPrey <- GrowthPrey - Ingestion # the growth of predator would depend on the ingestion of all prays regardless of species sumIngestion<-sum(Ingestion) dPredator <- sumIngestion * assEff - Mort...