ggobi_display_get_tour_projection   package:rggobi   R Documentation

_G_e_t _t_o_u_r _p_r_o_j_e_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Get the tour projection from a GGobi tour.

_U_s_a_g_e:

     ggobi_display_get_tour_projection(gd)

_A_r_g_u_m_e_n_t_s:

      gd: 

_D_e_t_a_i_l_s:

     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.

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

     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)

