create_cov_canonical | R Documentation |
This function computes canonical covariance matrices to be provided to mash.
create_cov_canonical(R, singletons = TRUE, hetgrid = seq(0, 1, 0.25))
R |
Integer specifying the number of conditions. |
singletons |
|
hetgrid |
A vector of numbers between -1 and 1, each
representing the off-diagonal elements of matrices with 1s on the
diagonal. If 0 is included, the identity matrix will be returned
which corresponds to assuming effects are independent across
conditions. IF |
A list of canonical covariance matrices.
mvsusieR:::create_cov_canonical(3)
mvsusieR:::create_cov_canonical(3, singletons = FALSE)
mvsusieR:::create_cov_canonical(3, hetgrid = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.