log_odds_ratio_to_d: Convert log odds ratio to Cohen's d

View source: R/log_odds_ratio_to_d.R

log_odds_ratio_to_dR Documentation

Convert log odds ratio to Cohen's d

Description

Convert log odds ratio to Cohen'd (standardized mean difference), as illustrated in Borenstein et al. (2009, p. 47, ISBN: 978-0-470-05724-7)

Usage

log_odds_ratio_to_d(log_odds_ratio = NULL, unname = TRUE)

Arguments

log_odds_ratio

log odds ratio (the input can be a vector of values), which will be converted to Cohen's d

unname

logical. Should the names from the input be removed? (default = TRUE)

Examples

## Not run: 
log_odds_ratio_to_d(log(1))
log_odds_ratio_to_d(log(2))

## End(Not run)

kim documentation built on Oct. 9, 2023, 5:08 p.m.