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.


Scarlett422301/LOCUS documentation built on April 8, 2024, 4:47 p.m.