ContrastMatrix: Contrast matrix

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ContrastMatrix.R

Description

Generates a contrast matrix with specified contrasts.

Usage

1

Arguments

contrasts

A character vector with specified contrasts.

levels

A character vector or a factor with levels in the design matrix.

Value

A contrast matrix.

Author(s)

Alysha M De Livera

See Also

makeContrasts.

Examples

1
    ContrastMatrix(contrasts = c("A-B", "B-C"), levels = c("A", "B", "C", "D"))

NormalizeMets documentation built on May 1, 2019, 10:26 p.m.