Learn R Programming

reproducer (version 0.5.2)

transformRtoHg: transformRtoHg

Description

This function coverts a vector of point bi-serial r values with associated sample size information back to the mean difference effect size Hedges g.

Usage

transformRtoHg(r, Nc, Nt)

Value

value of Hedges' g

Arguments

r

A vector of point bi-serial correlation values.

Nc

A vector of the number of observations in the control condition for the related experiments.

Nt

A vector of the number of observations in the treatment condition for the related experiments.

Author

Barbara Kitchenham and Lech Madeyski

Examples

Run this code
transformRtoHg(c(0.4, 0.2), c(20, 20), c(20, 20))
# [1] 0.8728716 0.4082483

Run the code above in your browser using DataLab