Add a matrix.
add_matrix.RdAdd a matrix.
Arguments
- proj
(MarchRProject or MarchRDataset) The project or dataset to add the matrix to.
- mat
(IterableMatrix) The matrix to add.
- mat_name
(character) The name of the matrix to add.
- overwrite
(logical) If
TRUE, overwrite the matrix if it already exists. IfFALSE, an error will be raised if the matrix already exists.- prefix_cells
(logical) If
TRUE(default), prefixdataset_name#to cell names to ensure uniqueness across datasets.