Logistic {ModelDataComp} | R Documentation |
Compute the result of a logistic function and a predictor variable x:
y = mx / (1 + exp(-sl * (x - x0)))
Logistic(par, x, ...)
par |
parameters of the logistic function, a vector of length 3 (asymptote mx, slope sl, turning point x0) |
x |
independent variable |
... |
further arguments (not used) |
No details.
a vector
Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]
No reference.
x <- -20:20 par <- c(1, 0.5, 0) plot(x, Logistic(par, x), type="l") par <- c(1, 0.2, 0) plot(x, Logistic(par, x), type="l") par <- c(10, -1, 0) plot(x, Logistic(par, x), type="l") par <- c(-2, -1, 0) plot(x, Logistic(par, x), type="l")