Function to compute canonical covariance matrices scaled.
compute_canonical_covs(
r,
singletons = TRUE,
hetgrid = c(0, 0.25, 0.5, 0.75, 1)
)
Arguments
- r
number of responses.
- singletons
if TRUE, the response-specific effect matrices will be
included.
- hetgrid
scalar or numeric vector of positive correlation [0, 1] of the effects
across responses.
Value
A list containing the canonical covariance matrices.