ggobi accessors            package:Rggobi            R Documentation

_C_o_n_v_e_n_i_e_n_c_e _a_c_c_e_s_s_o_r _f_o_r _c_a_l_l_i_n_g _g_g_o_b_i _m_e_t_h_o_d_s

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

     Most of the functions in this ggobi package act on a ggobi
     instance. The '$' operator allows one to treat these functions as
     method calls on the instance, in the form of 'g$method'.  This
     allows one to explicitly indicate which ggobi instance is being
     used and also to avoid typing the '.ggobi' suffix for the
     different functions.

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

     "$.ggobi"(x, name)

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

       x: the ggobi instance in the form of an object of class 
          'ggobi'.

    name: the name of the function to be invoked, without the  '.ggobi'
          suffix.

_V_a_l_u_e:

     This creates a closure which ``remembers'' the  'ggobi' instance
     'g' and returns a function which will call the function named 
     \textit{name}'.ggobi' with that 'ggobi' object as the named
     argument '.gobi'.  This is then called directly and its return
     value rarely stored for future computations.

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

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.ggobi.org>

_S_e_e _A_l_s_o:

     '$.ggobi' All functions that take a '.gobi' argument and are named
     '*.ggobi'.

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

       g <- ggobi(system.file("data", "flea.xml", package="Rggobi"))
       g$getDisplays()
       g$getDisplayCount()
       g$getDatasetReference(1) # g[[1]]

