Learn R Programming

LOCUS (version 1.0)

Ltrans: 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)

Value

A vector containing the upper triganle part of X.

Arguments

X

A symmetric matrix of dimentional V by V.

d

Whether to include the diagonal part of X.