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", "dunnett", "tukey"), comparator = NA)

Arguments

type

character, either "Raw", "dunnett" or "tukey")

comparator

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

Details

"raw" contrast: compare all candidates against specified benchmark values

"dunnett" (all vs. one) contrast: compare all candidates to a single comparator.

"tukey" (all vs. all) contrast: compare all candidates against each other.

Value

cases_contrast object to be passed to evaluate

Examples

define_contrast("dunnett", 1)

[Package cases version 0.1.1 Index]