cor.rowMeans {recmetrics} | R Documentation |
Compute rowMeans of a correlation matrix
Description
A wrapper for computing the mean of the rows of a correlation matrix.
Usage
cor.rowMeans(x, na.rm = TRUE)
Arguments
x |
A correlations |
na.rm |
logical (defaults to TRUE) |
Value
A numeric vector of correlation means.
Examples
# Use the SCWB data example
data(SCWB)
mycor <- cor(SCWB)
cor.rowMeans(mycor)
[Package recmetrics version 0.1.0 Index]