cormat_from_triangle: Make Correlation Matrix from Triangle

Description Usage Arguments Value Examples

View source: R/cormat.R

Description

cormat_from_triangle makes a correlation matrix from a vector of the upper right triangle

Usage

1

Arguments

cors

the correlations among the variables as a vars\*(vars-1)/2 vector

Value

matrix

Examples

1
2
3
cormat_from_triangle(c(.2, .3, .4, 
                           .5, .6, 
                               .7))

faux documentation built on Sept. 14, 2021, 1:08 a.m.