getGroups                package:nlme                R Documentation

_E_x_t_r_a_c_t _G_r_o_u_p_i_n_g _F_a_c_t_o_r_s _f_r_o_m _a_n _O_b_j_e_c_t

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

     This function is generic; method functions can be written to
     handle specific classes of objects. Classes which already have
     methods for this function include 'corStruct', 'data.frame',
     'gls', 'lme', 'lmList', and 'varFunc'.

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

     getGroups(object, form, level, data, sep)

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

  object: any object

    form: an optional formula with a conditioning expression on its
          right hand side (i.e. an expression involving the '|'
          operator). Defaults to 'formula(object)'.

   level: a positive integer vector with the level(s) of grouping to be
          used when multiple nested levels of grouping are present.
          This argument is optional for most methods of this generic
          function and defaults to all levels of nesting.

    data: a data frame in which to interpret the variables named in
          'form'. Optional for most methods.

     sep: character, the separator to use between group levels when
          multiple levels are collapsed.  The default is ''/''.

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

     will depend on the method function used; see the appropriate
     documentation.

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

     Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates
     bates@stat.wisc.edu

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

     Pinheiro, J.C., and Bates, D.M. (2000) "Mixed-Effects Models in S
     and S-PLUS", Springer, esp. pp. 100, 461.

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

     'getGroupsFormula', 'getGroups.data.frame', 'getGroups.gls',
     'getGroups.lmList', 'getGroups.lme'

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

     ## see the method function documentation

