Learn R Programming

VIM (version 4.3.0)

pairsVIM: Scatterplot Matrices

Description

Create a scatterplot matrix.

Usage

pairsVIM(x, ..., delimiter = NULL, main = NULL, sub = NULL,
  panel = points, lower = panel, upper = panel, diagonal = NULL,
  labels = TRUE, pos.labels = NULL, cex.labels = NULL,
  font.labels = par("font"), layout = c("matrix", "graph"), gap = 1)

Arguments

x
a matrix or data.frame.
delimiter
a character-vector to distinguish between variables and imputation-indices for imputed variables (therefore, x needs to have colnames). If given, it is used to determine the corresponding i
main,sub
main and sub title.
panel
a function(x, y, ...)

item

  • lower,upper
  • diagonal
  • labels
  • pos.labels
  • cex.labels
  • font.labels
  • layout
  • gap
  • ...

code

par

Details

This function is the workhorse for marginmatrix and scattmatrixMiss. The graphical parameter oma will be set unless supplied as an argument. A panel function should not attempt to start a new plot, since the coordinate system for each panel is set up by pairsVIM.

References

M. Templ, A. Alfons, P. Filzmoser (2012) Exploring incomplete data using visualization tools. Journal of Advances in Data Analysis and Classification, Online first. DOI: 10.1007/s11634-011-0102-y.

See Also

marginmatrix, scattmatrixMiss

Examples

Run this code
data(sleep, package = "VIM")
x <- sleep[, -(8:10)]
x[,c(1,2,4,6,7)] <- log10(x[,c(1,2,4,6,7)])
pairsVIM(x)

Run the code above in your browser using DataLab