View source: R/grow_richards.R
| grow_richards | R Documentation |
Richards growth model written as analytical solution of the differential equation.
grow_richards(time, parms)
time |
vector of time steps (independent variable). |
parms |
named parameter vector of the Richards growth model with:
|
The equation used is:
y = K*(1-exp(-beta * mumax * time)*(1-(y0/K)^-beta))^(-1/beta)
The naming of parameters used here follows the convention of Tsoularis (2001),
but uses mumax for growthrate and y for abundance to make them
consistent to other growth functions.
vector of dependent variable (y).
Richards, F. J. (1959) A Flexible Growth Function for Empirical Use. Journal of Experimental Botany 10 (2): 290–300.
Tsoularis, A. (2001) Analysis of Logistic Growth Models. Res. Lett. Inf. Math. Sci, (2001) 2, 23–46.
Other growth models:
grow_baranyi(),
grow_exponential(),
grow_gompertz2(),
grow_gompertz(),
grow_huang(),
grow_logistic(),
growthmodel,
ode_genlogistic(),
ode_twostep()
time <- seq(0, 30, length=200) y <- grow_richards(time, c(y0=1, mumax=.5, K=10, beta=2))[,"y"] plot(time, y, type="l") y <- grow_richards(time, c(y0=1, mumax=.5, K=10, beta=100))[,"y"] lines(time, y, col="red") y <- grow_richards(time, c(y0=1, mumax=.5, K=10, beta=.2))[,"y"] lines(time, y, col="blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.