Computes a value based on a logistic function.
Arguments
- t
Numeric value.
- L
Numeric value.
- k
Numeric value.
- t0
Numeric value.
Value
A numeric value based on the logistic function.
Details
$$
f(t; L, k, t0) = \frac{L}{1 + e^{-k(t - t_0)}}
$$
Examples
library(flexFitR)
plot_fn(
fn = "fn_logistic",
params = c(L = 100, k = 0.199, t0 = 47.7),
interval = c(0, 108),
n_points = 2000
)