bagplot.pairs: 'pairs' plot with bagplots

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/bagplot.R

Description

bagplot.pairs calls pairs and use bagplot() as panel function. It can be used for the inspection of data matrices.

Usage

1
2
3
4
5
  bagplot.pairs(dm, trim = 0.0, main, numeric.only = TRUE, 
                factor = 3, approx.limit = 300, pch = 16, 
                cex = 0.8, precision = 1, col.loophull = "#aaccff",
                col.looppoints = "#3355ff", col.baghull = "#7799ff",
                col.bagpoints = "#000088", ...)

Arguments

dm

datamatrix, columns contain values of the variables

trim

fraction or vector of fractions of data points that should be removed from the variables before computing

main

title of the plot

numeric.only

if TRUE only numerical variables will be used. Otherwise an transformation to numeric will be performed.

factor

see help of bagplot

approx.limit

see help of bagplot

pch

see help of bagplot

cex

see help of bagplot

precision

see help of bagplot

col.loophull

see help of bagplot

col.looppoints

see help of bagplot

col.baghull

see help of bagplot

col.bagpoints

see help of bagplot

...

further arguments to be passed to pairs

Details

bagplot.pairs is a cover function which calls pairs and uses bagplot to display the data.

Value

The data which has been used for the plot.

Note

Feel free to have a look inside of bagplot.pairs and to improve it according to your ideas.

Author(s)

Peter Wolf

See Also

bagplot, pairs

Examples

1
2
 # bagplot.pairs(freeny)
  # bagplot.pairs(trees,col.baghull="green", col.loophull="lightgreen")

Example output

Loading required package: tcltk
Warning message:
no DISPLAY variable so Tk is not available 

aplpack documentation built on Sept. 30, 2021, 5:08 p.m.