Learn R Programming

aplpack (version 1.3.3)

bagplot.pairs: pairs plot with bagplots

Description

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

Usage

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

Value

The data which has been used for the plot.

Details

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

See Also

bagplot, pairs

Examples

Run this code
# NOT RUN {
 # bagplot.pairs(freeny)
  # bagplot.pairs(trees,col.baghull="green", col.loophull="lightgreen")
# }

Run the code above in your browser using DataLab