Fisher_z2r: Fisher's z to r transformation.

View source: R/Transform_Functions.R

Fisher_z2rR Documentation

Fisher's z to r transformation.

Description

This function uses Fisher's z to r transformation to convert a z-score into a correlation.

Usage

Fisher_z2r(z)

Arguments

z

A numeric value (or vector) for the z-score(s).

Details

=============================================================================

This function uses Fisher's z to r transformation to convert a correlation into a z-score. Missing values of z result in NA values. This is also called the hyperbolic tangent transformation (tanh), so this is a wrapper for the base::tanh() function.

Value

A numeric value (or vector) for the correlation coefficient(s).

References

To be added later.

See Also

tanh for the base function used in this function. Fisher_r2z for the inverse transformation that converts r back to z.

Examples

Fisher_z2r(.3)
Fisher_z2r(c(-Inf, -2.64, NA, 0, 0.55, 2.64, Inf))


sjpierce/piercer documentation built on Dec. 30, 2024, 3:28 p.m.