Learn R Programming

reproducer (version 0.4.0)

transformRtoZr: transformRtoZr

Description

The function transforms a vector of point biserial r values to their normal approximation. It also works for the correlation r.

Usage

transformRtoZr(r)

Arguments

r

A vector of r-values

Value

value of normal approximation of point biserial r

Examples

Run this code
# NOT RUN {
reproducer::transformRtoZr(0.4)
# [1] 0.4236489
Zr=reproducer::transformRtoZr(c(0.4,0.2))
Zr
# [1] 0.4236489 0.2027326
# }

Run the code above in your browser using DataLab