Assert$isMatrix | R Documentation |
Static method asserting that an object is a matrix.
## Static method (use this):
## Assert$isMatrix(x, nrow=NULL, ncol=NULL, ...)
## Don't use the below:
## S3 method for class 'Assert'
isMatrix(static, x, nrow=NULL, ncol=NULL, ...)
x |
Object to be checked. |
nrow |
Required number of rows. If |
ncol |
Required number of columns. If |
... |
Not used. |
Returns (invisibly) TRUE
, or throws an exception.
Henrik Bengtsson
For more information see Assert
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.