Description Usage Arguments Details Value See Also Examples
p_to_o()
converts decimal probability to odds.
1 |
probability |
A single numeric decimal probability (i.e., a number between 0 and 1). |
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 probability of an event occuring is <probability>, the odds
are <decimal odds> or <ratio:odds>."
The output will be decimal odds. If print = TRUE
, the decimal
odds will be returned invisibly.
o_to_p
for converting odds to probability.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.