get_odds_ratio: Compute Odds Ratio

View source: R/compute_odds.R

get_odds_ratioR Documentation

Compute Odds Ratio

Description

Computes odds ratio given two probabilities. In this package, the function can be used to compare the percentages of remaining participants between two conditions at a time.

Usage

get_odds_ratio(a, b)

Arguments

a

numeric probability value between 0 and 1.

b

numeric probability value between 0 and 1.

Value

Returns numerical vector of the same length as original input reflecting the Odds Ratio (OR).

See Also

get_odds(), as this is the basis for calculation.

Examples

get_odds_ratio(0.7, 0.6)


dropR documentation built on July 3, 2024, 5:06 p.m.