get_odds: Compute Odds From Probabilities

Description Usage Arguments Examples

View source: R/compute_odds.R

Description

Compute odds from probabilities. The function is vectorized and can handle a vector of probabilities.

Usage

1

Arguments

p

vector of probabilities. May not be larger than 1 or smaller than zero.

Examples

1
get_odds(.8) # 4


dropR documentation built on May 19, 2017, 6:04 p.m.
Search within the dropR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.