search for: lotvmod

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

Did you mean: covmod
2010 May 14
0
Error in eco-model
...a model for tree animal species. I was trying to get the model in R but there are some errors. Since i am not so experienced with R i can't find the bugs in my script. I hope if there is someone who can help me handle this problem. Greetz Roel This is the script i wrote: library(odesolve) LotVmod <- function (Time, State, Pars) { with(as.list(c(State, Pars)), { dx = x*(alpha - beta*y) dy = -y*(gamma - delta*z) dz = z*( Iota ? kappa*y) return(list(c(dx, dy, dz))) }) } Pars <- c(alpha = .405, beta = .81, gamma = 1.5, delta = .125, Iota = 0.35, kappa = 0.75) State <- c(x =...