tril: Lower triangular matrix

View source: R/tril.R

trilR Documentation

Lower triangular matrix

Description

Given a square matrix, it provides the lower triangular part, including the main diagonal.

Usage

tril(M)

Arguments

M

square matrix

Value

N

transformed matrix

Author(s)

Francesco Bartolucci, Antonio Forcina

Examples

M = matrix(1:9,3)
N = tril(M)

extRC documentation built on Sept. 15, 2026, 1:07 a.m.