log_odds_ratio_to_d function

Convert log odds ratio to Cohen's d

Convert log odds ratio to Cohen's d

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)

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)