define_contrast {cases}R Documentation

Define a contrast (matrix) to specify exact hypothesis system

Description

Define a contrast (matrix) to specify exact hypothesis system

Usage

define_contrast(type = c("raw", "one", "all"), comparator = NA)

Arguments

type

(character)
either "raw", "one" or "all", see details.

comparator

(numeric | character)
either integer (index of comparator) or character (name of comparator)

Details

Value

(cases_contrast)
object to be passed to evaluate

Examples

define_contrast("one", 1)

[Package cases version 0.2.0 Index]