contrast_builder: Builds a function that makes the contrast matrix for a...

Description Usage Arguments Value

View source: R/diffex_functions.R

Description

Note that for a function-as-input, all this does is wrap that function and check the dimensions and type of the input design against the output contrast matrix.

Usage

1

Arguments

x

Either a closure or a list of string-based contrast definitions. If a closure, this should accept a design matrix and return a contrast matrix.

Value

A function that accepts a design matrix / data.frame and constructs a contrasts matrix from it.


russHyde/miiq documentation built on Dec. 25, 2019, 10:56 a.m.