Description Usage Arguments Details Value See Also Examples
o_to_p()
converts decimal or ratio odds to probability.
1 |
odds |
A single odds, either in the format of character ratio odds
(e.g., |
print |
A logical indicating whether to print a sentence description of the calculated odds for the given probaiblity. |
If print = TRUE
, an explanatory sentence will be printed in the
form "If the odds of an event occuring are <odds>, the probability
is <decimal probability>."
The output will be a decimal probability. If print = TRUE
, the
decimal probability will be returned invisibly.
p_to_o
for converting probability to odds.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.