logistic | R Documentation |
The logisic
function describe the classical logistic function,
logistic(x, yneg = -1, ypos = 1, lambda = 1, pow = 1) logistic2(x, yneg = -1, ypos = 1, lambda = 1, pow = 1, yzer = 0)
x |
a numerical vector. |
yneg |
asymptotic values when x tends to |
ypos |
asymptotic values when y tends to |
lambda |
scalar coefficient. |
pow |
x exponent. |
yzer |
values (for |
The classic logistic equation is:
f(x) = (ypos-yneg)/(1+exp(-λ x^pow))
A slightly different version is:
f(x) = yneg + 1/(1/(ypos-yneg)+(1/(yzer-yneg)-1/ypos-yneg)exp(-λ x^pow))
A numeric vector.
logistic2()
: A slightly different logistic function.
https://en.wikipedia.org/wiki/Logistic_functionwikipedia.org/wiki/Logistic_function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.