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) |
comparator |
(numeric | character) |
Details
"raw" contrast: compare all candidates against specified benchmark values
"one" ('all vs. one' or 'Dunnett') contrast: compare all candidates to a single comparator.
"all" ('all vs. all' or 'Tukey') contrast: compare all candidates against each other.
Value
(cases_contrast
)
object to be passed to evaluate
Examples
define_contrast("one", 1)
[Package cases version 0.2.0 Index]