cor.rowMeans: Compute rowMeans of a correlation matrix

View source: R/utils.R

cor.rowMeansR 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)

recmetrics documentation built on May 29, 2024, 6:02 a.m.