cov_from_factors: produce list of rank-1 covariance matrices corresponding to...

View source: R/data2cov.R

cov_from_factorsR Documentation

produce list of rank-1 covariance matrices corresponding to rows of f

Description

produce list of rank-1 covariance matrices corresponding to rows of f

Usage

cov_from_factors(f, name)

Arguments

f

a matrix of factors (each row is a factor)

name

a string indicating the name to use

Value

a list of rank one matrices whose kth element is f[k,] f[k,]' and named name_k


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