scale_cov: Scale each covariance matrix in list Ulist by a scalar in...

View source: R/compute_covs.R

scale_covR Documentation

Scale each covariance matrix in list Ulist by a scalar in vector grid

Description

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

Usage

scale_cov(Ulist, grid)

Arguments

Ulist

a list of matrices

grid

a vector of scaling factors (standard deviaions)

Value

a list with length length(Ulist)*length(grid), with values grid[i]^2*Ulist[[j]]


mashr documentation built on Dec. 8, 2022, 1:14 a.m.