genCorMat
generate the data with specified correlation matrix.
genCorMat(corstr, rho, size)
A character string specifying the correlation structure for the clusters. Allowed structures are: "independence", "exchangeable" and "ar1".
A numeric parameter in correlation structure for the autocorrelation coefficient.
A numeric number indicating the size of the matrix.
a matrix which represents the diffetent correlation matrix.
genCorMat returns the corresponding correlation matrix according to the value of the corstr argument.