Matrix.read {componentSkeleton}R Documentation

Read a matrix from CSV file

Description

Read a numeric matrix from a CSV file, corresponding to the Matrix data type in Anduril. The returned object is a matrix with column and row names.

Matrices can be written back to CSV files using CSV.write.

Usage

Matrix.read(filename, expected.columns = NULL)

Arguments

filename

Source filename.

expected.columns

if non-NULL, the column names are checked against this vector of expected column names and if they don't match, an error is generated. The order of column names is relevant.

Author(s)

Kristian Ovaska (kristian.ovaska@helsinki.fi)


[Package componentSkeleton version 2.0.1 Index]