compare_effect_sizes: Compare effect sizes

View source: R/compare_effect_sizes.R

compare_effect_sizesR Documentation

Compare effect sizes

Description

Compares effect sizes See p. 156 of Borenstein et al. (2009, ISBN: 978-0-470-05724-7).

Usage

compare_effect_sizes(
  effect_sizes = NULL,
  effect_size_variances = NULL,
  round_stats = TRUE,
  round_p = 3,
  round_se = 2,
  round_z = 2,
  pretty_round_p_value = TRUE
)

Arguments

effect_sizes

a vector of estimated effect sizes

effect_size_variances

a vector of variances of the effect sizes

round_stats

logical. Should the statistics be rounded? (default = TRUE)

round_p

number of decimal places to which to round p-values (default = 3)

round_se

number of decimal places to which to round the standard errors of the difference (default = 2)

round_z

number of decimal places to which to round the z-statistic (default = 2)

pretty_round_p_value

logical. Should the p-values be rounded in a pretty format (i.e., lower threshold: "<.001"). By default, pretty_round_p_value = TRUE.

Examples


compare_effect_sizes(
effect_sizes = c(0.6111, 0.3241, 0.5),
effect_size_variances = c(.0029, 0.0033, 0.01))


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