uptriidx: uptriidx

View source: R/uptriidx.R

uptriidxR Documentation

uptriidx

Description

This function returns upper tri index for usage with pivot_long reduction.

Usage

uptriidx(n, diag = FALSE)

Arguments

n

dimension of initial matrix [mandatory]

diag

indicate if diag should be retained [default: FALSE]

Value

list of positions

Author(s)

Kristian K Ullrich

Examples

uptriidx(10)

kullrich/MSA2dist documentation built on Nov. 14, 2024, 5:39 p.m.