powered by
An easy function to generate a compound symmetric correlation matrix
corrmat_CS(m, rho)
A correlation matrix
An integer. Dimension of the correlation matrix.
A number. Correlation coefficient between \((0,1)\)
corrmat_CS( m = 3, rho = 0.2 )
Run the code above in your browser using DataLab