Usage
ancova(formula, data.in = NULL, ...,
x, groups, transpose = FALSE,
display.plot.command = FALSE,
superpose.level.name = "superpose",
ignore.groups = FALSE, ignore.groups.name = "ignore.groups",
blocks, blocks.pch = letters[seq(levels(blocks))],
layout, between, main,
pch=trellis.par.get()$superpose.symbol$pch)
panel.ancova(x, y, subscripts, groups,
transpose = FALSE, ...,
coef, contrasts, classes,
ignore.groups, blocks, blocks.pch, blocks.cex, pch)
## The following are ancova methods for generic functions.
## S3 method for class 'ancova':
anova(object, ...)
## S3 method for class 'ancova':
predict(object, ...)
## S3 method for class 'ancova':
print(x, ...) ## prints the anova(x) and the trellis attribute
## S3 method for class 'ancova':
model.frame(formula, ...)
## S3 method for class 'ancova':
summary(object, ...)
## S3 method for class 'ancova':
plot(x, y, ...) ## standard lm plot. y is always ignored.
## S3 method for class 'ancova':
coef(object, ...)
Arguments
formula
A formula specifying the model.
data.in
A data frame in which the variables specified in the
formula will be found. If missing, the variables are searched for in
the standard way.
...
Arguments to be passed to aov
, such as subset
or na.action
.
x
Covariate in ancova
, needed for plotting when the
formula does not include x
.
"aov"
object in print.ancova
, to match the argument of
the print
generic function.
Variable to plo
groups
Factor. Needed for plotting when the formula does not
include groups
after the conditioning bar "|"
.
transpose
S-Plus: The axes in each panel of the plot are
transposed. The analysis
is identical, just the axes displaying it have been interchanged.
R: no effect.
display.plot.command
The default setting is usually what the user
wants. The alternate value TRUE
prints on the console the
command that draws the graph. This is strictly for debugging the
ancova
command.
superpose.level.name
Name used in strip label for superposed panel.
ignore.groups
When TRUE
, an additional panel showing all
groups together with a common regression line is displayed.
ignore.groups.name
Name used in strip label for
ignore.groups
panel.
pch
Plotting character for groups.
blocks
Additional factor used to label points in the panels.
blocks.pch
Alternate set of labels used when a blocks
factor is specified.
blocks.cex
Alternate set of cex
used when a blocks
factor is specified.
layout
The layout of multiple panels. The default is a single
row. See details.
between
Space between the panels for the individual group
levels and the superpose panel including all groups.
main
Character with a main header title to be done on the top
of each page.
y,subscripts
In "panel.ancova"
,#ifndef S-Plus
see panel.xyplot
.
#endif
#ifdef S-Plus
see both
xyplot
and
coef, contrasts, classes
Internal variables used to communicate between
ancova
and panel.ancova
. They keep track
of the constant or different slopes and intercepts in each
panel of the plot.