get_lower_upper_tri: Get Triangle of the Correlation Matrix

Description Usage Arguments Value

Description

Gets a triangle (lower or upper) of a correlation matrix.

Usage

1
get_lower_upper_tri(cor.mat, tri.type = c("none", "lower", "upper"))

Arguments

cor.mat

Correlation matrix.

tri.type

Retrieve values below or above the matrix. If 'none' is specified, then the same input matrix is returned.

Value

matrix with values above or below the diagonal depending on the tri.type.


tinyheero/tinyutils documentation built on May 31, 2019, 3:36 p.m.