logit_prob {dvmisc} | R Documentation |
Convert Logit to Probability
Description
Defined as: exp_x <- exp(x); out <- exp_x / (1 + exp_x)
. This 2-step
approach is faster than exp(x) / (1 + exp(x))
because the exponentials
only have to be calculated once.
Usage
logit_prob(x)
Arguments
x |
Numeric vector. |
Value
Numeric vector.
[Package dvmisc version 1.1.4 Index]