RowMergeSparseMatrices | R Documentation |
Merge two or more sparse matrices by rowname.
RowMergeSparseMatrices(mat1, mat2)
mat1 |
First matrix |
mat2 |
Second matrix or list of matrices |
Shared matrix rows (with the same row name) will be merged, and unshared rows (with different names) will be filled with zeros in the matrix not containing the row.
Returns a sparse matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.