tukey | R Documentation |
Compute Tukey Contrasts for all levels of a categorical predictor. Takes simple linear regression models and multiple linear regression models, as well as linear mixed effects models as input.
tukey(model, predictor)
model |
The model object, created by |
predictor |
The categorical predictor for which Tukey Contrasts should be computed. |
A list object if assigned to a variable name.
D. Schmitz
Hothorn, T., Bretz, F., & Westfall, P. (2008). Simultaneous Inference in General Parametric Models. Biometrical Journal 50(3), 346-363.
data("data_s")
mdl <- lm(sDur ~ pauseBin, data = data_s)
tukey(model = mdl, predictor = pauseBin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.