Learn R Programming

cases (version 0.1.1)

cormat_equi: Create an equicorrelation matrix

Description

Create an equicorrelation matrix

Usage

cormat_equi(m, rho, d = TRUE)

Value

\(R_{ij} = \rho, i\neq j\)

Arguments

m

integer, dimension

rho

numeric, correlation parameter in (0,1)

d

binary vector of length m, whereby TRUE/FALSE (alternatively 1/0) indicate active/inactive components of underlying random vector.