

asTable(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 val-
     ues 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 and Douglas Bates

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

     `groupedData', `isBalanced', `balancedGrouped'

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

     library( nlme )
     data( Orthodont )
     asTable( Orthodont )

