clogistic: Continuous Logistic Growth

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

A function for continuous logistic growth, for use with ode in the deSolve package.

Usage

1
clogistic(times, y, parms)

Arguments

times

times points that will return N

y

N

parms

a vector of logistic growth parameters; the first must be r, and the second must be alpha (1/K).

Details

The user does not put these directly into this function, but rather uses ode in the deSolve package.

The function implements the logistic growth equation

\frac{dN}{dt} = rN≤ft(1-α N\right)

or equivalently

\frac{dN}{dt} = rN≤ft(\frac{K-N}{K}\right)

Value

Returns of list of one component (required by ode).

Author(s)

Hank Stevens <HankStevens@miamioh.edu>

References

Stevens. M.H.H. (2009) A Primer of Ecology with R. Use R! Series. Springer.

See Also

dlogistic, thetalogistic, levins, lvcomp2, lvcompg

Examples

1
2
3
4
5
6
7
library(deSolve)
p <- c(r=1, alpha=.01)
time <- 1:10
initialN <- 10
out <- ode(y=initialN, times=time,
             func=clogistic, parms=p)
plot(time, out[,-1], type='l')

primer documentation built on Jan. 7, 2021, 1:07 a.m.