View source: R/Transform_Functions.R
Fisher_r2z | R Documentation |
This function uses Fisher's r to z transformation to convert a correlation into a z-score.
Fisher_r2z(r)
r |
A numeric value (or vector) for the correlation coefficient(s). |
This applies Fisher's r to z transformation to convert a correlation into a z-score. Numerical values of r close to -1 or 1 result Inf or -Inf, respectively. Missing values of r result in NA values. This transformation is also called the inverse hyperbolic tangent transformation (often written as arctanh), so Fisher_r2z() is a wrapper for the base::atanh() function.
A numeric value (or vector) for the z-scores.
To be added later.
atanh
for the base function used in this
function. Fisher_z2r
for the inverse transformation that
converts z back to r.
Fisher_r2z(.3)
Fisher_r2z(c(-1, -.99, NA, 0, .5, .99, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.