count_pairs {CommKern}R Documentation

Count pairs

Description

Description of the count pairs function.

Usage

count_pairs(a, b, order)

Arguments

a

a vector of classifications

b

a vector of classifications

order

a vector of permutations (coming from the order() function in base R)

Details

A function to count pairs of integers or factors and identify the pair counts

Value

a list of five different vectors:


[Package CommKern version 1.0.1 Index]