box.fig {pda}R Documentation

draw boxplot figure at specified position

Description

Usage

box.fig(fit, xpos=1, width=0.2, jitter=width)

Arguments

fit linear model (lm) fit
xpos horizontal (x) position of boxplot
width width of boxplot
jitter uniform jitter of outliers, if any

Value

list as returned from boxplot(fit,plot=F)

See Also

boxplot, effect.plot.

Examples

## Not run: 
pred <- fitted(fit)
plot(pred,resid(fit),xlim=range(pred)*c(1,1.1))
box.fig(fit,max(pred)*1.1)
## End(Not run)

[Package pda version 1.1-2 Index]