logit | R Documentation |
This function calculates the logit (log of the odds) of a set of probabilities.
logit(p, na.rm = TRUE)
p |
A set of probabilities (0 ≤ p ≤ 1). |
na.rm |
Logical; if |
Returns a set of values that now lie between -∞ and ∞.
round(logit(c(.5, .1, .9, 0, 1)), 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.