thetalogistic {primer} | R Documentation |
Continuous Theta-Logistic Growth
Description
A function for continuous theta-logistic growth, for use with ode
in
the deSolve
package.
Usage
thetalogistic(times, y, parms)
Arguments
times |
Times points that will return N |
y |
N |
parms |
a vector of logistic growth parameters |
Details
The user does not put these directly into this function, but rather uses
ode
in the deSolve
package. See ode
in the
deSolve
package.
Value
Returns of list of one component (required by ode
).
Author(s)
Hank Stevens (HStevens@muohio.edu)
References
Sibly, R.M., Barker, D., Denham, M.C., Hone, J., and Pagel, M. (2005) On the regulation of populations of mammals, birds, fish, and insects. Science, 309, 607–610.
Stevens, M.H.H. (2009) A Primer of Ecology with R. Use R! Series. Springer.
See Also
Examples
library(deSolve)
p <- c(r=1,alpha=.01, theta=.5)
time <- seq(1,10, by=.1)
initialN <- 10
out <- ode(y=initialN, times=time, func=thetalogistic, parms=p)
plot(time, out[,-1], type='l')
[Package primer version 1.2.0 Index]