Learn R Programming

evolqg (version 0.3-4)

PrintMatrix: Print Matrix to file

Description

Print a matrix or a list of matrices to file

Usage

PrintMatrix(x, ...)

# S3 method for default PrintMatrix(x, output.file, ...)

# S3 method for list PrintMatrix(x, output.file, ...)

Value

Prints coma separated matrices, with labels

Arguments

x

Matrix or list of matrices

...

Additional parameters

output.file

Output file

Author

Diogo Melo

Examples

Run this code
m.list <- RandomMatrix(10, 4)
tmp = file.path(tempdir(), "matrix.csv")
PrintMatrix(m.list, output.file = tmp )

Run the code above in your browser using DataLab