TukeyNonaddPlot: Tukey Nonadditivity Plot for Two-way ANOVA
Description
This function produces a Tukey nonadditivity plot for a two-way ANOVA model.
Usage
TukeyNonaddPlot(formula, data, out = "n",
main = "Tukey Nonadditivity Plot", ylab = "Residuals")
Arguments
formula
A formula for a two-way ANOVA in the form Response=FactorA+FactorB (or FactorA*FactorB)
data
A dataframe
out
Control what is returned. Default is "n"=nothing. Other options are "comp" for the comparisons, "line" for the equation of the line, and "resid" for the cell residuals.
main
Add a title, default is "Tukey Nonadditivity Plot"