
The Verhulst (logistic) model - calculate daily values over designated time period
verhulst.model(a, k, Y0, duration)
: growth rate
: capacity
: initial condition
: duration of simulation
data.frame with daily Y
verhulst.update
for the update function of the Verhulst model.
# 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