createSquareMatrix: createSquareMatrix

Description Usage Arguments Examples

Description

Given vectors for a square matrix (upper triangle, lower triangle, and diagonal) build the square correlation matrix

Usage

1
createSquareMatrix(lowerarray, upperarray, diagarray = NA)

Arguments

lowerarray

A vector of numeric values (excluding diagonals) that define the lower triangle of the square matrix

upperarray

A vector of numeric values (excluding diagonals) that define the lower triangle of the square matrxi

diagarray

What you want in the diagonal or a vector that will fill the diagonal

Examples

1
2
3
4

drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.