sortPairs: Sort Pairs

View source: R/aricode.R

sortPairsR Documentation

Sort Pairs

Description

A function to sort pairs of integers or factors and identify the pairs

Usage

sortPairs(c1, c2, spMat = FALSE)

Arguments

c1

a vector of length n with value between 0 and N1 < n

c2

a vector of length n with value between 0 and N2 < n

spMat

logical: send back the contingency table as sparsely encoded (cost more than the algorithm itself). Default is FALSE


jchiquet/aricode documentation built on Feb. 27, 2024, 4:33 p.m.