Description Usage Arguments Value Author(s) See Also Examples
View source: R/ContrastMatrix.R
Generates a contrast matrix with specified contrasts.
1 |
contrasts |
A character vector with specified contrasts. |
levels |
A character vector or a factor with levels in the design matrix. |
A contrast matrix.
Alysha M De Livera
1 | ContrastMatrix(contrasts = c("A-B", "B-C"), levels = c("A", "B", "C", "D"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.