level_pairs {supernova}R 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.


[Package supernova version 3.0.0 Index]