Learn R Programming

multilevel (version 2.6)

rtoz: Conducts an r to z transformation

Description

This function 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 for which one wants the z transformation.

Value

Produces a single 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