View source: R/convert_between_odds_to_probs.R
| odds_to_probs | R Documentation |
Convert Between Odds and Probabilities
odds_to_probs(odds, log = FALSE, ...)
probs_to_odds(probs, log = FALSE, ...)
odds |
The Odds (or |
log |
Take in or output log odds (such as in logistic models). |
... |
Arguments passed to or from other methods. |
probs |
Probability values to convert. |
Converted index.
stats::plogis()
Other convert between effect sizes:
d_to_r(),
diff_to_cles,
eta2_to_f2(),
oddsratio_to_riskratio(),
w_to_fei()
odds_to_probs(3)
odds_to_probs(1.09, log = TRUE)
probs_to_odds(0.95)
probs_to_odds(0.95, log = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.