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 2, 2019, 6:12 a.m.

Related to get_odds in dropR...