i_index_pairwise_combn: Pairwise index combinations

View source: R/graveyard.R

i_index_pairwise_combnR Documentation

Pairwise index combinations

Description

i_index_pairwise_combn returns the split pairwise combination of idxs in a matrix

Usage

i_index_pairwise_combn(n)

Arguments

n

number of indices

Value

list of matrices. For each focal index up to n - 1, a matrix with the other indexes it interacts with (2nd col) and the "absolute position" of that pairwise interaction (1st column) is returned.

Author(s)

Jose Eduardo Meireles


spectrolab documentation built on Feb. 16, 2023, 10:27 p.m.