scatmat.ggobi {Rggobi}R Documentation

Create a ggobi scatterplot matrix display

Description

Creates a new window under the management of the specified ggobi instance containing a grid of all pairwise scatterplots of the variables specified in the x and y arguments. The display is similar to that produced by the pairs function, but is interactive and dynamic, allowing linking across the other plots within the ggobi instance. Greater control of which pairs of variables are plotted together can be obtained by specifying both x and y.

Usage

scatmat.ggobi(x, y, .data=1, .gobi=getDefaultGGobi())

Arguments

x the names or indices of the variables to plot
y if specified, this should have the same length as x and then the pair (x[i], y[i]) are plotted.
.data
.gobi the ggobi instance in which the plot is created and the variable identifiers resolved.

Value

An object of class ggobiDisplay. This is an opaque type whose contents are to be interpreted by C code and other S functions only.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

scatterplot.ggobi parcoords.ggobi

Examples

  g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit")
  scatmat.ggobi(1:3)
  scatmat.ggobi(c("tars1", "tars2", "aede1"))

[Package Rggobi version 1.1-2 Index]