Description Usage Arguments Value References Examples
This function calculates the odds of a success from its probability. For more details, see Agresti (2018, ISBN: 978-1-119-40528-3).
1 |
p |
a numeric value indicating the probability of the success. It is possible to consider a numeric vector of different probabilities values. |
name |
a character value indicating the name of the success. Possible values for this argument are |
A matrix of two columns. The first column contains the vector of probabilities p. The second column contains the corresponding odds values.
Agresti, A. (2018). An introduction to categorical data analysis. John Wiley & Sons. ISBN: 978-1-119-40528-3.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.