Bagplots in R
bagplot() function available in library aplpack(see the documentation, PDF file in package
for detailed explanation).
- bagplot(lit,gnpcap)
- bagplot.pairs(cbind(gnpgrow,urb,lifeem,lifeef))
Related command:
- plothulls(cbind(lifeem,gnpcap),n.hull=10)
Bagplots for S
- See
this page for some papers on the bagplot, as well as
code for Splus (A graphical function that does not work in R!), Matlab and Fortran.
Reference
- Rousseeuw, P.J., Ruts, Ida, Tukey. J.W., The Bagplot: A Bivariate Boxplot, The
American Statistician, 1999, Vol 53,4