
Add common effect size columns to FReD dataset
add_common_effect_sizes.RdConverts original and replication effect sizes to common metric (r) and adds them to the dataset.
Arguments
- fred_data
FReD dataset
- es_value_columns
Character vector of column names for effect sizes
- es_type_columns
Character vector of column names for effect size types
- es_common_names
Names of columns where effect sizes should be saved. If coalesce_values is TRUE, existing values in these columns will be retained if no conversion is possible.
- coalesce_values
Logical. Should existing values in es_type_columns be retained?
- not_convertible_columns
Names of optional columns in which the dataset records why an effect must not be converted to r (e.g., a chi-squared(1) from a Wald, likelihood-ratio, model-fit or goodness-of-fit test rather than from a contingency table). A non-empty value sets the common effect size to
NA. Missing columns are ignored.