plot.xdistResscale {regr0} | R Documentation |
Plots mean absolute differences of residuals against mean x-distance of pairs of observations, classified on the basis of their x-distance. The distance is proportional to the Mahalanobis distance in the design space.
## S3 method for class 'xdistResscale' plot(x, lwd=2, cex=2, xlab = "distance in x space", ylab = "average abs. residual difference", col.aux = "grey30", ...)
x |
an object of class |
lwd, cex |
line width and character expansion for plotting |
xlab, ylab |
label for axes |
col.aux |
color to be used for auxiliary lines |
... |
arguments passed to |
none.
Werner A. Stahel, ETH Zurich
See package vignette.
data(d.blast) rr <- regr(tremor~distance+charge, data=d.blast) ## an inadequate model! xdrd <- xdistResdiff(rr) plot(xdrd)