createPairwiseContrasts: Create pariwise contrasts

Description Usage Arguments Value

View source: R/create_contrasts.R

Description

Creates all the possible pairwise contrasts between the unique elements of a vector.

Usage

1
createPairwiseContrasts(x, sep = "-", reverseLevs = TRUE)

Arguments

x

Vector to be combined in pairs.

sep

Separator of resulting contrasts.

reverseLevs

Reverse levels before contrasts? Defaults to TRUE

Value

A character vector containing all the possible pairwise contrasts.


martingarrido/biokit documentation built on June 27, 2021, 2:21 a.m.