ggobiDataset accesors         package:Rggobi         R Documentation

_S_h_o_r_t_h_a_n_d _f_o_r _c_a_l_l_i_n_g _g_g_o_b_i _f_u_n_c_t_i_o_n_s _w_i_t_h _a _g_i_v_e_n _d_a_t_a_s_e_t.

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

     Many functions in this package operate on a dataset within a ggobi
     instance. This function provides a convenient syntax for invoking
     such functions by keying off a reference to a dataset (i.e. a
     'ggobiDataset' object) which identifies both the dataset and the
     ggobi instance.

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

     "$.ggobiDataset"(d, name)

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

       d: the object of class 'ggobiDataset' which identifies both the
          ggobi instance and specific dataset within it.

    name: the name of the function to be accessed with this dataset and
          ggobi instance.

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

     A closure instance that is a function which  calls the function
     \textit{name}'.ggobi' with the '.data' argument given by this 
     data set object and '.ggobi' argument given by the '.ggobi' field
     of that 'ggobiDataset' instance.

_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'

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

       g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit")
       d <- g[[1]]
       d$getColors()
       g[[1]]$getGlyphs()
       
       g[[1]]$setColors(rep(2,20), 1:20) # or use a color name.

