powered by
Define a contrast (matrix) to specify exact hypothesis system
define_contrast(type = c("raw", "one", "all"), comparator = NA)
(cases_contrast) object to be passed to evaluate
cases_contrast
evaluate
(character) either "raw", "one" or "all", see details.
(numeric | character) either integer (index of comparator) or character (name of comparator)
"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.
define_contrast("one", 1)
Run the code above in your browser using DataLab