Learn R Programming

rggobi (version 2.1.22)

imode: Interaction mode

Description

Functions to get and set interaction mode

Usage

imode(x)

Arguments

x

GGobiDisplay object

Details

In GGobi, the interaction mode determines the how you interact with a plot: brushing, identify etc. Each projection mode also has a default interaction mode that allows you to select variables and control other parameters of the display

You can see the list of available interaction modes using the imodes function. This accepts either a GGobiDisplay, or the name of the display type.

Examples

Run this code
# NOT RUN {
if (interactive()) {
g <- ggobi(mtcars)
d <- displays(g)[[1]]
imode(d)
imodes(d)
imode(d) <- "Brush"}
# }

Run the code above in your browser using DataLab