.linear.formula | R Documentation |
Linear equation.
.linear.formula(N0, Nmax, mu, lambda, base = NULL)
N0 |
initial radius. |
Nmax |
final/maximum radius. |
mu |
growth rate. |
lambda |
latency time. |
base |
decimal base used for plot y-scaling. |
a function taking as input x (the time) and outputting the value of the linear equation.
f <- .linear.formula(0.1, 2, 0.2, 5)
f(4)
## [1] 0
f(20)
## [1] 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.