cluto                package:skmeans                R Documentation

_R_e_a_d _a_n_d _W_r_i_t_e _M_a_t_r_i_c_e_s _i_n _C_L_U_T_O _S_p_a_r_s_e _M_a_t_r_i_x _F_o_r_m_a_t

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

     Read and write matrices in CLUTO sparse matrix format.

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

     readCM(con, clabel = NULL)
     writeCM(mat, con)

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

     con: a connection object or a character string.

  clabel: a character string giving the path to a CLUTO column labels
          file, or 'NULL' (default).

     mat: a matrix object.

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

     Documentation for CLUTO including its sparse matrix format is
     available from <URL: http://www-users.cs.umn.edu/~karypis/cluto/>.

     'readCM' reads CLUTO sparse matrices, returning a simple triplet
     matrix (for more information, see 'simple_triplet_matrix' in
     package 'slam').

     'writeCM' writes CLUTO sparse matrices.  Argument 'mat' must be
     coercible to a simple triplet matrix via
     'as.simple_triplet_matrix'.

