Ltrans: Map a symmetric matrix into its upper triangle part.

View source: R/Ltrans.R

LtransR Documentation

Map a symmetric matrix into its upper triangle part.

Description

This function is to map the upper triganle part of a symmetric matrix into a vector.

Usage

Ltrans(X, d = TRUE)

Arguments

X

A symmetric matrix of dimentional V by V.

d

Whether to include the diagonal part of X.

Value

A vector containing the upper triganle part of X.


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