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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to