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 29, 2017, 7:22 p.m.

Related to get_odds in dropR...