Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

mashr (version 0.2.79)

cov_from_factors: 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)

Value

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

Arguments

f

a matrix of factors (each row is a factor)

name

a string indicating the name to use