p.res.2x {sfsmisc}R Documentation

Stahel's Residual Plot against 2 X's

Description

Plot Residuals (e.g., of a multiple linear regression)

Usage

p.res.2x(x, y, z, restricted, size = 1, slwd = 1, scol = 2,
         xlab = NULL, ylab = NULL, ...)

Arguments

x,y numeric vectors of the same length specifying 2 covariates.
z numeric vector of same length as x and y, typically residuals.
restricted positive value which truncates the size. The corresponding symbols are marked by stars.
size the symbols are scaled so that size is the size of the largest symbol in cm.
slwd, scol line width and color for the residual segments.
xlab,ylab axis labels, see plot.default.
... further arguments passed to plot.

Details

........... ..........

Author(s)

Andreas Ruckstuhl in June 1991 and Martin Maechler, in 1992, '94.

References

Stahel, W. (1996) ........

See Also

p.res.2fact, plot.lm, TA.plot.

Examples

xx <- rep(1:10,7)
yy <- rep(1:7, rep(10,7))
zz <- rnorm(70)
p.res.2x(xx,yy,zz, restr = 2, main = "i.i.d.  N(0,1) random residuals")


[Package Contents]