Description Usage Arguments Value
View source: R/testfunctions_covariates.R
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).
1 | symat(values)
|
values |
vector, the values that enter into the symmetric matrix. Dimensions will be determined automatically. |
matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.