Learn R Programming

ProCoNA (version 1.10.0)

utri: utri

Description

The upper triangle of a matrix

Usage

utri(mat)

Arguments

mat
A matrix

Value

Examples

Run this code
m <- matrix(rnorm(9), nrow=3, ncol=3) 
utri(m)

Run the code above in your browser using DataLab