Triangle: 'Triangle'

View source: R/utilities.R

TriangleR Documentation

Triangle

Description

Lower and Upper Triangle (left and right) part of a matrix.

Usage

Triangle(x, position = "lower right", diag = FALSE)

Arguments

x

A matrix.

position

One of "lower left", "lower right", "upper left", or "upper right".

diag

Logical. If TRUE, the diagonal is included in the triangle.


NumbersInternational/flipStartup documentation built on Feb. 26, 2024, 5:39 a.m.