upper.triangle: Upper triangle portion of a matrix

View source: R/upper.triangle.R

upper.triangleR Documentation

Upper triangle portion of a matrix

Description

Returns the lower triangle including the diagonal of a square numeric matrix.

Usage

upper.triangle(x)

Arguments

x

a matrix

Value

A matrix.

Author(s)

Frederick Novomestky fnovomes@poly.edu

References

Bellman, R. (1987). Matrix Analysis, Second edition, Classics in Applied Mathematics, Society for Industrial and Applied Mathematics.

See Also

is.square.matrix

Examples

A <- matrix( seq( 1, 9, 1 ), nrow=3, byrow=TRUE )
upper.triangle( A )

matrixcalc documentation built on Sept. 15, 2022, 1:05 a.m.