Add common effect size columns to FReD dataset
add_common_effect_sizes.Rd
Converts 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?