Learn R Programming

reproducer (version 0.4.0)

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)

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.

Value

value of Hedges' g

Examples

Run this code
# NOT RUN {
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