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.


martingarridorc/biokit documentation built on June 28, 2021, 12:24 a.m.