search for: mortpredator

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

2016 Apr 26
0
vectors of equations in ode / desolve
...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 - MortPredator # returning an array of preys does produce...