Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pairs

Scatterplot Matrix


Description

A matrix of scatterplots is produced.

Usage

pairs(x, ...)
## Default S3 method:
pairs(x, ...)
## S3 method for class 'formula'
pairs(formula, data = NULL, ..., subset,
      na.action = stats::na.pass)

Arguments

x

An object containing the data to plot.

formula, data, subset, na.action

See pairs

.

...

Other arguments to pass to the methods.

Details

The ellipse package defines a pairs.profile method for profile objects. Unfortunately, so does the MASS package. The ellipse::pairs generic is supplied to allow users to choose to use the version in this package. See the pairs.profile help page for more details.

Value

Typically no useful value is produced; this generic function is called for the side effect of producing the display.

See Also

pairs.profile for the method from this package.

Examples

example(pairs, "graphics")

ellipse

Functions for Drawing Ellipses and Ellipse-Like Confidence Regions

v0.4.2
GPL (>= 2)
Authors
Duncan Murdoch <murdoch@stats.uwo.ca> and E. D. Chow (porting to R by Jesus M. Frias Celayeta <iosu@bureau.ucc.ie>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.