Correct Ordering of Contrasts

Share:

Description

A function to determine the correct ordering of contrasts for vennSelect. This is an internal function and should not be called by the end user

Usage

1
getCols(design, contrast)

Arguments

design

A design matrix, usually produced by a call to model.matrix.

contrast

A contrasts matrix, either produced by hand or as a result of a call to makeContrasts

Value

This function returns the correct order for the contrasts.

Author(s)

James W. MacDonald

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.