PrintMatrix: Print Matrix to file

View source: R/PrintMatrix.R

PrintMatrixR Documentation

Print Matrix to file

Description

Print a matrix or a list of matrices to file

Usage

PrintMatrix(x, ...)

## Default S3 method:
PrintMatrix(x, output.file, ...)

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

Arguments

x

Matrix or list of matrices

...

Additional parameters

output.file

Output file

Value

Prints coma separated matrices, with labels

Author(s)

Diogo Melo

Examples

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

lem-usp/EvolQG documentation built on March 24, 2023, 8:24 a.m.