Learn R Programming

HH (version 3.1-47)

print.latticeresids: Print a latticeresids object.

Description

Print a latticeresids object.

Usage

# S3 method for latticeresids
print(x, ...,
           A321.left=0, A321.bottom=0.27,
           A4.left=0, A4.top=0.30,
           position=list(
             A321=c(A321.left,     A321.bottom, 1, 1     ),
             A4  =c(A4.left,       0,           1, A4.top)),
           panel.width=NULL,
           which=1:4)

Arguments

x

A latticeresids object.

A321.left, A321.bottom, A4.left, A4.top, position

The first three rows are on the same x scale (the scales of the independent variables). The arguments with "A321" in their name are used to construct the position argument to print.trellis for the first three rows. The fourth row is on a different x scale (the scales of each independent variable adjusted for all the other x variables). The arguments with "A4" in their name are used to construct the position argument to print.trellis for the fourth row. The two sets of rows {1,2,3} and {4} may have different widths for their left axis tick labels. The arguments A321.left and A4.left along with absolute dimensions for panel.width ("cm" or "in", not "npc") can be hand-tailored to make the columns line up precisely. See the example.

panel.width

the panel.width argument of print.trellis.

which

Vector of row numbers which are to be printed. If not all four printed, consider adjusting the A321.bottom and A4.top values.

Other arguments for print.

Details

The four trellis objects, one for each type of plot, are printed as a single four-row lattice object.

See Also

residual.plots.lattice