asTable                 package:nlme                 R Documentation

_C_o_n_v_e_r_t _g_r_o_u_p_e_d_D_a_t_a _t_o _a _m_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     Create a tabular representation of the response in a balanced
     groupedData object.

_U_s_a_g_e:

     asTable(object)

_A_r_g_u_m_e_n_t_s:

  object: A balanced 'groupedData' object

_D_e_t_a_i_l_s:

     A balanced groupedData object can be represented as a matrix or
     table of response values corresponding to the values of a primary
     covariate for each level of a grouping factor.  This function
     creates such a matrix representation of the data in 'object'.

_V_a_l_u_e:

     A matrix.  The data in the matrix are the values of the response. 
     The columns correspond to the distinct values of the primary
     covariate and are labelled as such.  The rows correspond to the
     distinct levels of the grouping factor and are labelled as such.

_A_u_t_h_o_r(_s):

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

_S_e_e _A_l_s_o:

     'groupedData', 'isBalanced', 'balancedGrouped'

_E_x_a_m_p_l_e_s:

     data(Orthodont)
     asTable(Orthodont)

