deepcopy_sparse_object | R Documentation |
Generates a deep copy of a sparse matrix or sparse vector object, which can come useful when the matrix is to later be passed to functions that will potentially modify it in-place, such as sort_sparse_indices.
deepcopy_sparse_object(X)
X |
A sparse matrix or sparse vector from the 'Matrix' package. |
The same input 'X' with the fields replaced with deep copies.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.