Shows some basic information about a sparse matrix or sparse vector object, without printing a subset of its entries as 'Matrix' would do.
Note that this package will by default override the 'show' methods of sparse objects, but not the ‘print' methods - for example, if one defines a variable ’X' containing a sparse matrix, and then types 'X' in the console, that calls the 'show' method, but one can still print it by calling 'print(X)'.
In order to restore the 'show' method provided by 'Matrix', call 'options("MatrixExtra.quick_show" = FALSE)'.
1 2 3 4 5 6 7 8
A sparse matrix or sparse vector.
A sparse vector (same method as in matrix, readded here to avoid naming conflicts).
The same object that was passed as input, as invisible.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.