pairwise_contrasts | R Documentation |
Construct pairwise contrasts for all combinations of factor levels.
pairwise_contrasts(levels, where = NULL)
levels |
A vector of factor levels to be compared. |
where |
An optional formula specifying the subset over which the contrast is computed. |
A contrast_set object containing pairwise contrasts for all combinations of factor levels.
pairwise_contrasts(c("A", "B", "C"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.