cor.rowMeans {recmetrics} | R Documentation |
A wrapper for computing the mean of the rows of a correlation matrix.
cor.rowMeans(x, na.rm = TRUE)
x |
A correlations |
na.rm |
logical (defaults to TRUE) |
A numeric vector of correlation means.
# Use the SCWB data example
data(SCWB)
mycor <- cor(SCWB)
cor.rowMeans(mycor)