Description Usage Arguments Details Value Examples
The function calculates the values of the modified Gompertz growth curve for given time points.
1 | gompertz.exp(time, A, mu, lambda, addpar)
|
time |
Time points (x-axes) for which the function values will be returned |
A |
Maximum of the curve. If a vector is provided only the first entry is used. |
mu |
Maximum slope. If a vector is provided only the first entry is used. |
lambda |
Lag-phase. If a vector is provided only the first entry is used. |
addpar |
Numeric vector of size two, addpar[1] corresponds to scaling parameter α and addpar[2] corresponds to shifting parameter t_{shift}. |
The function follows the parametrization
A exp[-exp(mu exp(1)/A(lambda-t)+1)]+A exp(alpha(t-t_shift))
Numeric vector giving the values of modified Gompertz growth law for numeric input vector time
.
1 2 3 | x <- 1:30
y <- gompertz.exp(x, 10, 2, 5, c(1,2))
plot(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.