reduceMat             package:apComplex             R Documentation

_R_e_m_o_v_e _m_a_t_r_i_x _c_o_l_u_m_n_s

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

     This function eliminates columns that are identically equal to or
     strictly less than other columns in a matrix.

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

     reduceMat(mat, compare = "equal")

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

     mat: 'mat' is a matrix.

 compare: 'compare' is a character equal to "equal" (default) or
          "less".

_D_e_t_a_i_l_s:

     If 'compare' is set to "equal", sets of identically equal columns
     are found.  The first of these columns is kept in the matrix and
     the rest are eliminated.

     If 'compare' is set to "less", then a column is removed from the
     matrix if all of its entries are less than all entries of another
     column in the matrix.

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

     A matrix with columns eliminated according to the criteria
     specified in 'compare'.

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

     Denise Scholtens

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

     'vecInMat','whichVecInMat'

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

     a <- matrix(c(1,0,1,1,1,0,1,0,1,1,0,0),nrow=3)
     reduceMat(a)
     reduceMat(a,compare="less")

