| cluto {skmeans} | R Documentation |
Read and write matrices in CLUTO sparse matrix format.
readCM(con, clabel = NULL) writeCM(mat, con)
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. |
Documentation for CLUTO including its sparse matrix format is available from 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.