View source: R/fisherTransform.R
fisherZ | R Documentation |
fisherZ
returns (squeezed) Fisher's Z transformed Pearson's r
fisherZ(cormat)
cormat |
Pearson correlation matrix |
Fisher Z transformed Pearson correlations
#Generate a random binary (-1, 1) matrix
(mat <- matrix(sample(c(1,-1), 25, replace = TRUE), ncol = 5))
#Correct matrix diag
diag(mat) <- 1
#Transform
fisherZ(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.