TukeyNonaddPlot {Stat2Data}R Documentation

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)


[Package Stat2Data version 2.0.0 Index]