Learn R Programming

multilevel (version 2.7)

rtoz: Conducts an r to z transformation

Description

Transforms a correlation (r) to a z variate using the formula provided on page 53 of Cohen & Cohen (1983). The formula is z=.5*((log(1+r))-(log(1-r))) where r is the correlation.

Usage

rtoz(rvalue)

Arguments

rvalue

The correlation to be z transformed.

Value

The z transformation.

References

Cohen, J. & Cohen, P. (1983). Applied multiple regression/correlation analysis for the behavioral sciences (2nd Ed.). Hillsdale, NJ: Lawrence Erlbaum Associates.

See Also

cordif

Examples

Run this code
# NOT RUN {
rtoz(.84)
# }

Run the code above in your browser using DataLab