cormat_equi: Create an equicorrelation matrix

Description Usage Arguments Value

View source: R/cormat.R

Description

Create an equicorrelation matrix

Usage

1
cormat_equi(m, rho, d = TRUE)

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.

Value

R_{ij} = ρ, i\neq j


maxwestphal/DTAmc documentation built on Dec. 21, 2021, 3:52 p.m.