corrmat_CS: Compound symmetric correlation matrix

View source: R/corrmat_CS.R

corrmat_CSR 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
)

corrMCT documentation built on Sept. 11, 2024, 6:58 p.m.