pairwise_contrasts: Pairwise Contrasts

View source: R/contrast.R

pairwise_contrastsR Documentation

Pairwise Contrasts

Description

Construct pairwise contrasts for all combinations of factor levels.

Usage

pairwise_contrasts(levels, where = NULL)

Arguments

levels

A vector of factor levels to be compared.

where

An optional formula specifying the subset over which the contrast is computed.

Value

A contrast_set object containing pairwise contrasts for all combinations of factor levels.

Examples

pairwise_contrasts(c("A", "B", "C"))


bbuchsbaum/fmrireg documentation built on May 16, 2023, 10:56 a.m.