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

Roland Rau roland.rproject at gmail.com
Mon Aug 11 20:53:05 CEST 2008


Hi,

stephen sefick wrote:
> 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 am trying to model
> a population with an initial value, fecundity per time step, and a
> death rate.  

just a small recommendation: do you know Hal Caswell's Book "Matrix 
Population Models"?
This is the homepage of the book http://www.sinauer.com/detail.php?id=0965
He explains in detail how to construct and analyze population models 
with an initial value and (time varying) fertility and mortality. The 
matrix models in his book allow also to relax your (implicit) assumption 
of having no age structure in your population.

I hope this helps you further.

Best,
Roland



More information about the R-help mailing list