upper.triangle {matrixcalc} | R 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
Examples
A <- matrix( seq( 1, 9, 1 ), nrow=3, byrow=TRUE )
upper.triangle( A )
[Package matrixcalc version 1.0-6 Index]