Description Usage Arguments Value
Writes out a file (using write.table
) containing columns
row col value
i j M[i,j]
for every nonzero entry of M.
1 | write_triplets(M, file, row.names = FALSE, ...)
|
M |
The matrix. |
file |
The file name to write out to. |
row.names |
Whether to write out row indices. |
... |
Additional parameters to be passed to |
The result of write.table
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.