Ltrinv: Inverse function of 'Ltrans' to map back a vector into a...

View source: R/Ltrinv.R

LtrinvR 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 x is converted to.

d

Whether diagonal is kept in x or not.

Value

A symmetric matrix whose upper triangle part is x.


LOCUS documentation built on Oct. 4, 2022, 9:06 a.m.