search for: imagemutr

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

Did you mean: imagemate
2009 Sep 25
1
simulating a model
...ical model, based on the epidemiology SIR model. I've been trying to simulate it in R. However, I can't simulate it properly. Two guesses: my script isn't right; I'm not setting the parameters properly I have uploaded an image to the model here: http://img24.imageshack.us/img24/743/imagemutr.jpg The script I am using is as it follows: require(simecol) mod1 <- new("odeModel",   main = function(time, init, parms) {   x <- init   p <- parms     dx1 <- p["K"] - p["alpha"]*x[1]*x[2] - p["gamma"]*x[1]     dx2 <- x[1]*x[2]*(p["alp...