Dear useRs, Is there a package or a function able to simulate models with sets of differential equations? Where we could input our model and give R some value to start with and it would generate the graphs? Regards, Rafael. ____________________________________________________________________________________ [[elided Yahoo spam]] [[alternative HTML version deleted]]
Rafael Moral <rafa_moral2004 <at> yahoo.com.br> writes:> > Dear useRs, > > Is there a package or a function able to simulate models with sets ofdifferential equations?> Where we could input our model and give R some value to start with and itwould generate the graphs?> > Regards, > Rafael. >install.packages("deSolve") it won't generate the graphs automatically, you have to use standard R tools (plot, matplot, etc.)
On Sep 7, 2009, at 1:55 PM, Rafael Moral wrote:> Dear useRs, > > Is there a package or a function able to simulate models with sets > of differential equations? > Where we could input our model and give R some value to start with > and it would generate the graphs? >Your request seems a bit on the under-determined side, but perhaps this Petzold article will get you started: "R as a Simulation Platform in Ecological Modelling " http://www.cas.muohio.edu/%7Estevenmh/Rnews_2003-3.pdf ## pages 8-16 And then for more worked examples, the JSS volume that he edited: http://www.jstatsoft.org/v22 -- David Winsemius, MD Heritage Laboratories West Hartford, CT