Displaying 1 result from an estimated 1 matches for "lvmod".
Did you mean:
lsmod
2016 Apr 26
0
vectors of equations in ode / desolve
...de below does
not work and I have not a good idea how to specify this right.
## =======================================================================
## Example1: Predator-Prey Lotka-Volterra model (with logistic prey)
## =======================================================================
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
GrowthP...