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
______________________________________________
[email protected] 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.