getSelectedIndices.ggobi       package:Rggobi       R Documentation

_C_o_m_p_u_t_e_s _w_h_i_c_h _r_e_c_o_r_d_s _a_r_e _s_e_l_e_c_t_e_d _i_n _a _g_g_o_b_i _i_n_s_t_a_n_c_e

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

     The user can select different records in a ggobi dataset using the
     brushing region. These functions provide two ways to query the set
     of selected observations. One ('getSelectedIndices.ggobi') returns
     the indices of the selected records. The other is a simple
     transformation of this information which indicates, via a logical
     vector, for  each  record whether it is currently selected.

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

     getSelectedIndices.ggobi(.data = 1, .gobi=getDefaultGGobi())
     isObservationSelected.ggobi(.data = 1, .gobi=getDefaultGGobi())

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

   .data: the dataset whose selected status is to be queried. This can
          be any identifier for a dataset, specifically a name, index
          or an object of class 'ggobiDataset'.

   .gobi: an identifier for the ggobi instance in which the dataset to
          be queried resides. This is either an index or an object of
          class 'ggobi'. This is not necessary if the '.data' argument
          is supplied in the form of an object of class 'ggobiDataset'.

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

     'getSelectedIndices.ggobi' returns an integer vector containing
     the indices of the records in the specified dataset that are
     currently selected.

     'isObservationSelected.ggobi' returns  a logical vector the length
     of which is the number  of records in the specified dataset and in
     which each element indicates whether the corresponding record  is
     currently selected.

_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/RSggobi.html>

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

     'setBrushLocation.ggobi' 'setBrushSize.ggobi'
     'getBrushLocation.ggobi' 'getBrushSize.ggobi'

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

