raw2matrix               package:pheno               R Documentation

_C_o_n_v_e_r_t_s _a _n_u_m_e_r_i_c _d_a_t_a _f_r_a_m_e _t_o _m_a_t_r_i_x

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

     Converts a numeric data frame D with three columns (x, factor 1,
     factor 2) in a matrix M where rows are ranks of levels of factor 1
     and columns are ranks of levels of factor 2, missing values are
     set to 0.

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

     raw2matrix(D)

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

       D: Data frame with three columns (x, factor 1, factor 2)

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

       M: Numeric matrix where rows are ranks of levels of factor 1 and
          columns are ranks of levels of factor 2, missing values are
          set to 0.

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

     Joerg Schaber

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

             data(DWD)
             raw2matrix(DWD)

