Learn R Programming

ZeBook (version 1.1)

verhulst.model: The Verhulst (logistic) model - calculate daily values over designated time period

Description

The Verhulst (logistic) model - calculate daily values over designated time period

Usage

verhulst.model(a, k, Y0, duration)

Arguments

a

: growth rate

k

: capacity

Y0

: initial condition

duration

: duration of simulation

Value

data.frame with daily Y

See Also

verhulst.update for the update function of the Verhulst model.

Examples

Run this code
# NOT RUN {
plot(verhulst.model(0.08,100,1,100), type="l", ylim=c(0,115),
   xlab="day", ylab="Y, population density",lwd=2)
# }

Run the code above in your browser using DataLab