tukey_hsd | R Documentation |
Helper function to perform Tukey post-hoc tests. It is used in gafem.
tukey_hsd(model, ..., out = "long")
model |
an object of class |
... |
other arguments passed to the function
|
out |
The format of outputs. If |
A tibble data frame containing the results of the pairwise
comparisons (if out = "long"
) or a "list-columns" with p-values for
each term (if out = "wide"
).
library(metan) mod <- lm(PH ~ GEN + REP, data = data_g) tukey_hsd(mod) tukey_hsd(mod, out = "wide")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.