PrintMatrix | R Documentation |
Print a matrix or a list of matrices to file
PrintMatrix(x, ...)
## Default S3 method:
PrintMatrix(x, output.file, ...)
## S3 method for class 'list'
PrintMatrix(x, output.file, ...)
x |
Matrix or list of matrices |
... |
Additional parameters |
output.file |
Output file |
Prints coma separated matrices, with labels
Diogo Melo
m.list <- RandomMatrix(10, 4)
tmp = file.path(tempdir(), "matrix.csv")
PrintMatrix(m.list, output.file = tmp )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.