intmat_to_fmm | R Documentation |
This function takes a numeric matrix and converts it into a Matrix Market file.
input |
A numeric matrix to be converted. |
filename |
The name of the output file where the Matrix Market formatted data will be saved. |
A boolean indicating success or failure. Writes a MTX file to disk.
intmat <- matrix(c(1L, 2L, 3L, 4L), nrow = 2)
intmat_to_fmm(intmat, tempfile(fileext = ".mtx"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.