symat {ivmte} | R Documentation |
Generate symmetric matrix
Description
Function takes in a vector of values, and constructs a symmetric matrix from it. Diagonals must be included. The length of the vector must also be consistent with the number of "unique" entries in the symmetric matrix. Note that entries are filled in along the columns (i.e. equivalent to byrow = FALSE).
Usage
symat(values)
Arguments
values |
vector, the values that enter into the symmetric matrix. Dimensions will be determined automatically. |
Value
matrix.
[Package ivmte version 1.4.0 Index]