Create square correlation matrix from lower triangle
Examples
tri2cor(c(.2,.3,.4))
#> [,1] [,2] [,3]
#> [1,] 1.0 0.2 0.3
#> [2,] 0.2 1.0 0.4
#> [3,] 0.3 0.4 1.0
Create square correlation matrix from lower triangle
tri2cor(c(.2,.3,.4))
#> [,1] [,2] [,3]
#> [1,] 1.0 0.2 0.3
#> [2,] 0.2 1.0 0.4
#> [3,] 0.3 0.4 1.0