Learn R Programming

linpk (version 1.0)

LTmat: Construct a symmetric matrix from its lower triangle.

Description

Construct a symmetric matrix from its lower triangle.

Usage

LTmat(LT)

Arguments

LT

A numeric vector giving the elements of the lower triangle of the matrix by row (see examples).

Value

A symmetric matrix.

Examples

Run this code
# NOT RUN {
LTmat(1:6)
# }

Run the code above in your browser using DataLab