cov_simple_het: Compute covariance matrices with diagonal element 1 and...

View source: R/compute_covs.R

cov_simple_hetR Documentation

Compute covariance matrices with diagonal element 1 and off-diagonal element corr

Description

This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.

Usage

cov_simple_het(data, corr = c(0.25, 0.5, 0.75))

Arguments

data

a mash data object, eg as created by mash_set_data

corr

a vector containing the correlations to be used

Value

a list of matrices, one for each value in corr


stephenslab/mashr documentation built on Oct. 19, 2023, 4:14 p.m.