View source: R/grow_logistic.R
| grow_logistic | R Documentation |
Classical logistic growth model written as analytical solution of the differential equation.
grow_logistic(time, parms)
time |
vector of time steps (independent variable) |
parms |
named parameter vector of the logistic growth model with:
|
The equation used is:
y = (K * y0) / (y0 + (K - y0) * exp(-mumax * time))
vector of dependent variable (y).
Other growth models:
grow_baranyi(),
grow_exponential(),
grow_gompertz2(),
grow_gompertz(),
grow_huang(),
grow_richards(),
growthmodel,
ode_genlogistic(),
ode_twostep()
time <- seq(0, 30, length=200) y <- grow_logistic(time, c(y0=1, mumax=0.5, K=10))[,"y"] plot(time, y, type="l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.