mat.cor: Forms a correlation matrix in which all correlations have the...

mat.corR Documentation

Forms a correlation matrix in which all correlations have the same value.

Description

Form the correlation matrix of order order in which all correlations have the same value.

Usage

mat.cor(rho, order)

Arguments

rho

A numeric containing the single correlation value.

order

The order of the correlation matrix to be formed.

Value

A correlation matrix.

Author(s)

Chris Brien

See Also

mat.I, mat.J, mat.corg, mat.banded, mat.exp, mat.gau, mat.ar1, mat.ar2, mat.sar2, mat.ma1, mat.ma2, mat.arma

Examples

    corr <- mat.cor(rho = 0.4, order = 3)

dae documentation built on June 22, 2024, 9:07 a.m.