ToSym: Makes a symmetric matrix from the vector made of its upper...

View source: R/FunctionsMatVec.R

ToSymR Documentation

Makes a symmetric matrix from the vector made of its upper triangular part

Description

Makes a symmetric matrix from the vector made of its upper triangular part

Usage

ToSym(A.vec)

Arguments

A.vec

Vector obtain with ToVec or the 'upper.tri()' function.

Value

The symmetric matrix with A.vec as off-diagonal terms.


Rmomal/EMtree documentation built on Dec. 14, 2024, 8:16 a.m.