powered by
This function is a constructor for the corCS correlation matrix representing a compound symmetry structure corresponding to uniform correlation.
corCS
corCS(rho, p = 2)
Returns a \(p\) by \(p\) matrix.
the value of the correlation between any two correlated observations, which must be between -1 and 1.
dimension of the requested correlation matrix.
R <- corCS(rho = 0.8, p = 5)
Run the code above in your browser using DataLab