Description Usage Arguments Details Value
genCorMat
generate the data with specified correlation matrix.
1 | genCorMat(corstr, rho, size)
|
corstr |
A character string specifying the correlation structure for the clusters. Allowed structures are: "independence", "exchangeable" and "ar1". |
rho |
A numeric parameter in correlation structure for the autocorrelation coefficient. |
size |
A numeric number indicating the size of the matrix. |
genCorMat returns the corresponding correlation matrix according to the value of the corstr argument.
a matrix which represents the diffetent correlation matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.