Plot helper functions

Share:

Description

a.resetplotparams() sets colors and plotting parameters suitable for document production.

plotfit(fit, ...) plots an lm object using mfrow=c(2,3)

prepanel.0 Lattice prepanel function that forces that zero be included on both axes. Does nothing for non-numeric axes (such as the factor axis in bwplot).

Details

Type the name of a function to see its source code for details.

Author(s)

Lutz Prechelt prechelt@inf.fu-berlin.de

See Also

trellis.par.set, plot.lm, Lattice, prepanel.lmline.

Examples

1
2
3
4
5
data(iris)
a.resetplotparams()
print(bwplot(Species~Sepal.Length, data=iris, panel=panel.bwstrip,
             prepanel=prepanel.0))
plotfit(lm(Sepal.Length~Sepal.Width, data=iris))