get_upper_tri: Get upper triangle of a correlation matrix

Description Usage Arguments Value Examples

Description

Get upper triangle of a correlation matrix

Usage

1
get_upper_tri(cormat)

Arguments

cormat

Correlation matrix

Value

Upper triangle of matrix, lower is NA

Examples

1
get_upper_tri(stats::cor(matrix(rnorm(500), 100, 5)))

rexmacey/factorModel documentation built on June 5, 2019, 11:26 a.m.