Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

upper.triangle

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

Examples

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

matrixcalc

Collection of functions for matrix calculations

v1.0-3
GPL (>= 2)
Authors
Frederick Novomestky <fnovomes@poly.edu>
Initial release
2012-09-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.