powered by
This function generates a block structured symmetric positive definite matrix to test the BlockCov methodology.
Simu_Sigma(q, diag = TRUE, equal = TRUE)
integer corresponding to the size of the covariance matrix.
logical, whether or not the covariance matrix is block-diagonal.
logical, whether or not the values in the blocks are equal.
Sigma a correlation matrix to test the BlockCov methodology.
# NOT RUN { Sigma <- Simu_Sigma(q = 100, diag = FALSE, equal = TRUE) Matrix::image(Sigma) # }
Run the code above in your browser using DataLab