ggobi-display-get-tour-projection-p0: Get tour projection

Description Usage Arguments Details Author(s) Examples

Description

Get the tour projection from a GGobi tour.

Usage

1

Arguments

gd

GGobiDisplay object running tour

Details

This function retrieves the current projection matrix from a paused tour. (The tour must be paused so that R can run commands).

This can be used to record interesting projections of your data for later analysis.

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
if (interactive()) {
g <- ggobi(mtcars)
d <- displays(g)[[1]]
}
## Not run: 
pmode(d) <- "2D Tour"
ggobi_display_get_tour_projection(d)
variables(d) <- list(X=names(mtcars))
ggobi_display_get_tour_projection(d)
MASS::eqscplot(as.matrix(mtcars) %*% ggobi_display_get_tour_projection(d))

## End(Not run)

ggobi/rggobi documentation built on May 17, 2019, 3:15 a.m.