expand_cov: Create expanded list of covariance matrices expanded by grid

View source: R/mash.R

expand_covR Documentation

Create expanded list of covariance matrices expanded by grid

Description

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

Usage

expand_cov(Ulist, grid, usepointmass = TRUE)

Arguments

Ulist

a list of covarance matrices

grid

a grid of scalar values by which the covariance matrices are to be sc

usepointmass

if TRUE adds a point mass at 0 (null component) to the list

Value

This takes the covariance matrices in Ulist and multiplies them by the grid values If usepointmass is TRUE then it adds a null component.


mashr documentation built on Oct. 18, 2023, 5:08 p.m.