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

Description Usage Arguments Value

View source: R/compute_covs.R

Description

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

Usage

1
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 May 24, 2021, 1:06 a.m.