getVariable.ggobi           package:Rggobi           R Documentation

_G_e_t _t_h_e _v_a_l_u_e_s _o_f _a _G_G_o_b_i _v_a_r_i_a_b_l_e

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

     This retrieves the values of a variable within a GGobi dataset,
     handling categorical variables as S factors.

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

     getVariable.ggobi(which, .data=1, .gobi=getDefaultGGobi(), asDataFrame=FALSE)

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

   which: the identifiers for the variables to be retrieved, given by
          index or variable name

   .data: an identifier for the dataset, either an index, name or
          'ggobiDataset' object.

   .gobi: the GGobi instance, given by index or an object of class
          'ggobi'. The currently active GGobi instance is used by
          default.

asDataFrame: a logical value indicating whether the result should be
          given as a data frame or left as a list.

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

     A dataframe or a list (depending on whether 'asDataFrame' is
     'TRUE' or 'FALSE') whose elements are the variables copied from
     the GGobi dataset.

_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> <URL: http://www.ggobi.org>

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

     'setVariableValues.ggobi' '[.ggobiDataset' '[.ggobiDataset'

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

      ggobi(system.file("data", "flea.xml", package="Rggobi"))
      getVariable.ggobi("tars1")
      getVariable.ggobi(1)

