# residual.plots.lattice

From HH v3.1-19
by Richard Heiberger

##### Construct four sets of regression plots: Y against X, residuals against X, partial residuals against X, partial residuals against each X adjusted for all the other X columns.

Construct four sets of regression plots. Response variable $Y$ against each $X_j$, residuals $e$ against each $X_j$, partial residuals plots of $e^j$ against each $X_j$, added variable plots of $e^j$ against the residuals of each $X_j$ adjusted for the other $X$ columns. The slopes shown in the panels of both bottom rows are equal to the regression coefficients.

- Keywords
- dplot

##### Usage

```
residual.plots.lattice(lm.object, X=dft$x, layout=c(dim(X)[2],1),
par.strip.text=list(cex=.8),
scales.cex=.6,
na.action=na.pass,
y.relation="same",
...)
```

##### Arguments

##### Value

`"trellis"`

object.

##### See Also

##### Examples

```
data(longley)
longley.lm <- lm( Employed ~ . , data=longley, x=TRUE, y=TRUE)
residual.plots.lattice(longley.lm)
```

*Documentation reproduced from package HH, version 3.1-19, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.