Ltrinv {LOCUS} | R Documentation |
Inverse function of Ltrans
to map back a vector into a symmetric matrix.
Description
This function is the inverse function of Ltrans
, which is to map a vector back to a symmetric matrix.
Usage
Ltrinv(x, V, d = TRUE)
Arguments
x |
A vector to convert to a matrix, which is of length p. |
V |
Dimension of the matrix which |
d |
Whether diagonal is kept in |
Value
A symmetric matrix whose upper triangle part is x
.
[Package LOCUS version 1.0 Index]