prob2odd | R Documentation |
Convert probabilities to odds using the formula of odds = p/(1-p)
prob2odd(p)
p |
Probability value to be converted |
Return the odds
p <- c(0.3,0.4,0.5)
prob2odd(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.