Learn R Programming

spectrolab (version 0.0.18)

i_index_pairwise_combn: Pairwise index combinations

Description

i_index_pairwise_combn returns the split pairwise combination of idxs in a matrix

Usage

i_index_pairwise_combn(n)

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.

Arguments

n

number of indices

Author

Jose Eduardo Meireles