weights               package:R2MeCab               R Documentation

_W_e_i_g_h_t_i_n_g _M_a_t_r_i_x (_M_a_t_r_i_c_e_s) _o_p_t_i_o_n_s

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

     Calculates a weighted document-term matrix according to the chosen
     local and/or global weighting options.

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

         entropy(m)
         localTF(m)
         localBin(m)
         localLogTF(m)
         globalIDF(m)
         globalIDF2(m)
         globalIDF3(m)
         globalNorm(m)
         globalEntropy(m)
         removeInfo (m)
         mynorm(m)

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

       m: a document-term matrix.

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

     Returns the weighted textmatrix of the same size and format as the
     input matrix.

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

     Motohiro ISHIDA ishida.motohiro@gmail.com

