corrmat_CS {corrMCT}R Documentation

Compound symmetric correlation matrix

Description

An easy function to generate a compound symmetric correlation matrix

Usage

corrmat_CS(m, rho)

Arguments

m

An integer. Dimension of the correlation matrix.

rho

A number. Correlation coefficient between (0,1)

Value

A correlation matrix

Examples

corrmat_CS(
  m = 3,
  rho = 0.2
)

[Package corrMCT version 0.1.0 Index]