parallelCoordDescription {Rggobi}R Documentation

Create a plot description or template for use in plotLayout()

Description

When creating composite plots in a single display/window, one first creates a description of each of the sub-plots (e.g. scatterplot, parallel coordinates plot, ash, etc.) and then pass these virtual plots to plotLayout to instantiate them and lay them out within the display. These functions create the virtual plots in the form of a description.

Usage

parallelCoordDescription(..., .data = -1, .gobi=NULL)
scatterplotDescription(x, y, .data = -1, .gobi=NULL)
scatmatrixDescription(..., .data = -1, .gobi=NULL)
ashDescription(x, .data = -1, .gobi=NULL)
timeseriesDescription(..., .data = -1, .gobi = NULL)

Arguments

x,y variables to be displayed in the plot, given as as a name, index.
... the names or indices of the variables that are to be displayed in the plot.
.gobi optional ggobi instance with respect to which the variables will be resolved. This can be specified when the plot description is realized (e.g. in a call to plotLayout)
.data the index or name of the dataset within the ggobi instance in which the variable identifiers are to be resolved.

Details

These descriptions are templates for how to create a plot in the future. The descriptions can be created before any ggobi is created. The idea here is similar to having an expression generated by quote or expression that is to be evaluated at a subsequent time.

Value

A list containing the arguments and whose class identifies the plot type corresponding to which of these description functions was invoked.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org, http://www.ggobi.org/Rggobi

See Also

plotLayout

Examples

  plot4 <- ashDescription("tars2")
  plot5 <- scatmatrixDescription("tars1", "tars2", "head")
  plot6 <- parallelCoordDescription("tars1", "tars2", "head")

[Package Rggobi version 1.1-2 Index]