isMatrix.Assert {R.utils} | R Documentation |
Static method asserting thatan object is a matrix.
Assert$isMatrix(x, nrow=NULL, ncol=NULL, ...)
x |
Object to be checked. |
nrow |
Required number of rows. If NULL , this is not checked. |
ncol |
Required number of columns. If NULL , this is not checked. |
... |
Not used. |
Returns (invisibly) TRUE
, or throws an exception.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see Assert
.