Learn R Programming

evolqg (version 0.1-7)

PrintMatrix: Print Matrix to file

Description

Print a matrix or a list of matrices to file

Usage

PrintMatrix(x, ...)

## S3 method for class 'default': PrintMatrix(x, output.file = "./matrix.csv", ...)

## S3 method for class 'list': PrintMatrix(x, output.file = "./matrix.csv", ...)

Arguments

x
Matrix or list of matrices
...
Aditional parameters
output.file
Output file

Value

  • Prints coma separated matrices, with labels

Examples

Run this code
m.list <- RandomMatrix(10, 4)
PrintMatrix(m.list)

Run the code above in your browser using DataLab