View source: R/e_convert_oddsratio-probability_ALL.R
e_convert_probability_to_oddsratio | R Documentation |
Convert from Probability to Odds Ratio
e_convert_probability_to_oddsratio(p = NULL, sw_percent = FALSE)
p |
list of probabilities |
sw_percent |
T/F input is percent |
or list of odds ratios
p <- c(0, 0.1, 0.2, 1/3, 1/2, 2/3, 0.8, 0.9)
e_convert_probability_to_oddsratio(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.