anovaPlot(obj, stacked = TRUE, base = TRUE, axes = TRUE,
faclab = TRUE, labels = FALSE, cex = par("cex"),
cex.lab = par("cex.lab"), ...)
aov
or lm
for which marginal
deviations from the mean and the residuals distribution is displayed.TRUE
and if it is necessary the dots are
stacked, otherwise all points are displayed at same level with possible
overlapping.FALSE
this line is omitted.FALSE
the axes are omitted.labels=TRUE
then factor levels are displayed for the factor dots
plots and sequential enumeration is used for the residuals.dots
function.anova(obj)
.
If labels=TRUE
then the factor levels are used for as points
instead of dots. This option is useful to post labelling the dot plots.
See dots
function.
The Anova plot is built in a $(0,1)\times(0,1)$ plot
area. The area plot is divided to accommodate each of the factors and
the residual at the bottom of the plotting area. The function returns a
list with the coordinates of all the dots displayed.dots
, dotPlot
library(BHH2)
data(heads.data)
heads.data$periods <- factor(heads.data$periods)
heads.data$heads <- factor(heads.data$heads)
heads.aov <- aov(resp~periods+heads,data=heads.data)
anovaPlot(heads.aov)
anovaPlot(heads.aov,labels=TRUE,faclab=TRUE)
Run the code above in your browser using DataLab