tri: matrix to a triangular matrix

Description Usage Arguments Value Examples

Description

matrix to a triangular matrix

Usage

1
tri(x, diag = TRUE, upper = T)

Arguments

x

is numerix matrix form

Value

upper(lower) triangular matrix

Examples

1
2
x<-matrix(1,nrow=4,ncol=3)
tri(x)

qkdrk777777/DUcj documentation built on May 16, 2019, 8:14 p.m.