View source: R/utilities_Matrix.R
| is.Matrix | R Documentation |
Arguably, this function should be in the Matrix package,
but it is not.
We include it here for convenience.
is.Matrix(a)
a |
The object to be queried if it is Matrix. |
This function is not vectorized.
is.Matrix() is a wrapper for inherits(a, "Matrix).
A boolean. TRUE if a is a Matrix, FALSE otherwise.
is.Matrix(matrix(42))
is.Matrix(Matrix::Matrix(42))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.