createDisplay.ggobi {Rggobi} | R Documentation |
This is a generic mechanism to create a top-level GGobi display from R. It identifies the target display type and the corresponding Gtk class and invokes the method to create and populate the particular display with the given variables in the given dataset.
createDisplay.ggobi(type, vars, .data = 1, .gobi = getDefaultGGobi())
type |
the name of the desired display type, which can be given
either by the Gtk class name or by its more "human readable" form
returned as the names of the elements from the function getDisplayTypes.ggobi |
vars |
the identifiers for the variables to be displayed in the
plot(s). These can be either variable names or indices. They are
resolved relative to the dataset .data .
|
.data |
the dataset identifier in which to resolve the variables vars . |
.gobi |
the ggobi instance in which to resolve the dataset if that is given as a name or index rather than a dataset reference. |
An object of class ggobiDisplay
.
id |
the integer identifier for the display |
ref |
a pointer to the C-level displayd object. |
ggobi |
the GGobi instance in which the display was created. This
is an object of class ggobi . See ggobi-class . |
Duncan Temple Lang
http://www.ggobi.org http://www.omegahat.org/RGtk
scatterplot.ggobi
scatmat.ggobi
parcoords.ggobi
data(mtcars) g = ggobi(mtcars) g$createDisplay("GtkGGobiScatterplotDisplay", c("cyl", "mpg"))