Eliminates an zeros in a sparse matrix.
a sparse matrix of class
numeric scalar > 0. Smaller entries are coerced to zero.
A sparse matrix may still contain zeros. This function (aliased
as.spam) filters these values.
This often causes confusion when testing such matrices for symmetry or comparing apparently equal matrices with
(see ‘Examples’ below.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.