[R] Differential Equations there use in R (population modeling)

Ben Bolker bolker at ufl.edu
Mon Aug 11 15:43:26 CEST 2008


stephen sefick <ssefick <at> gmail.com> writes:

> 
> e1 <- function(x,b,t){
> 	d<-(x)*(b^t)
> 	plot(d)
> }
> 
> e1(2, 2,seq(from=0, to=6, by=1))
> 
> Is there a way to do this with a change in time.  I would like to use
> differential equations.  

  I'm not sure what you mean by "do this with a change in time",
but in general for ODEs you should check out lsoda in the odesolve package.
You can also look at the ecology/environment task view.

  Ben Bolker



More information about the R-help mailing list