asmat | R Documentation |
sparseMatrix
objects as matrix
This function coerse non-sparseMatrix
objects as
matrix
and keeps sparseMatrix
unchanged.
asmat(obj)
obj |
The object under consideration. |
Returns a matrix
or a sparseMatrix
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.