parallelCoordDescription {Rggobi} | R Documentation |
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.
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)
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. |
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.
A list containing the arguments and whose class identifies the plot type corresponding to which of these description functions was invoked.
Duncan Temple Lang
http://www.ggobi.org, http://www.ggobi.org/Rggobi
plot4 <- ashDescription("tars2") plot5 <- scatmatrixDescription("tars1", "tars2", "head") plot6 <- parallelCoordDescription("tars1", "tars2", "head")