Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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"

ylab

Label vertical axis, default is "Residuals"

Details

More details need to be written

Value

Depends on the option set with out.

Examples

data(Dinosaurs)
TukeyNonaddPlot(Iridium~Source*factor(Depth),data=Dinosaurs)

Stat2Data

Datasets for Stat2

v2.0.0
GPL-3
Authors
Ann Cannon, George Cobb, Bradley Hartlaub, Julie Legler, Robin Lock, Thomas Moore, Allan Rossman, Jeffrey Witmer
Initial release
2018-12-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.