level_pairs: Get all pairs for a given vector

View source: R/pairwise.R

level_pairsR Documentation

Get all pairs for a given vector

Description

The output of this function should match the pairs you get when you run TukeyHSD.

Usage

level_pairs(levels)

Arguments

levels

The vector to get pairs for. It is called levels because it was written for the purpose of comparing levels of a factor to one another with multiple comparisons.

Value

A tibble with two columns, group 1 and group 2, where each row is a unique pair.


supernova documentation built on May 29, 2024, 4:47 a.m.