Skip to contents

Takes vectors of effect sizes and their types and converts them to a common metric (r). It also converts test statistics, specifically t and F with 1 degree of in the numerator, to r. Other test statistics cannot be consistently converted, so are returned as NA.

Usage

convert_effect_sizes(es_values, es_types, quiet = FALSE)

Arguments

es_values

Numeric vector of effect sizes

es_types

Character vector of effect size types (types/wordings that are not supported are flagged in warning)

quiet

Logical. Should dataset warnings (unknown effect sizes and values not convertible to numeric) and status messages be suppressed?

Value

Numeric vector of effect sizes in common metric (r)