Description Usage Arguments Details Value Examples
Equivalent to stats::plogis()
with default arguments.
1 | logistic(x)
|
x |
a numeric input |
The standard logistic function is defined as
p(x) = \frac{1}{1 + e^{-x}}.
We decided to write our own implementation instead of using the C/C++ powered
stats::plogis()
after benchmarking performance.
a (0, 1)-ranged output of the same size as x
1 | logistic(0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.