isMatrix.Assert: Static method asserting thatan object is a matrix
Description
Static method asserting thatan object is a matrix.Usage
Assert$isMatrix(x, nrow=NULL, ncol=NULL, ...)
Arguments
nrow
Required number of rows. If NULL
, this is not checked. ncol
Required number of columns. If NULL
, this is not checked. Value
- Returns (invisibly)
TRUE
, or throws an exception.
synopsis
isMatrix.Assert(static, x, nrow=NULL, ncol=NULL, ...)See Also
For more information see Assert
.