Description Usage Arguments Value Examples
Applies the logistic function to a vector of continuous values, or if specified, applies the logit (log-odds) function to a vector of probabilities.
1 | sigmoid(x, prob = F)
|
x |
Either a vector of unbounded continuous values, or
if |
prob |
Logical; if |
A transformed vector, either the result of the logistic
function, or if prob
is TRUE
, the result of the
logit function.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.