Description Usage Arguments Author(s) See Also
Saves a named sparese matrix to disk using ".NSMrow.names", ".NSMcol.names" and ".NSMmat.lrn"
1 2 3 | WriteNSM(FilenameWithoutExt, Matrix, LineKey, LineHeader,
ColumnKey, ColumnHeader, OutDirectory, Comments)
|
FilenameWithoutExt |
Filename for the saved matrix without extension |
Matrix |
The sparse matrix. Must be a sparse matrix from the Matrix package |
LineKey |
Optional: Vector of keys for all rows. Defaults to the vector |
LineHeader |
Optional: Vector of strings. Names for all rows. Defaults to: |
ColumnKey |
Optional: Vector of keys for all colums. If not given and matrix dimensions are eqal, LineKey is taken as ColumnKey. Otherwise defaults to the vector |
ColumnHeader |
Optional: Vector of strings. Names for all columns. If not given and matrix dimensions are eqal, LineHeader is taken as Columnheader. Otherweise defaults to |
OutDirectory |
Directory where the files should be saved |
Comments |
String containing comments for the sparse matrix |
Felix Pape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.