1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% Assert.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{Assert$isMatrix}
\alias{Assert$isMatrix}
\alias{isMatrix.Assert}
\alias{Assert.isMatrix}
\alias{isMatrix,Assert-method}
\title{Static method asserting that an object is a matrix}
\description{
Static method asserting that an object is a matrix.
}
\usage{
## Static method (use this):
## Assert$isMatrix(x, nrow=NULL, ncol=NULL, ...)
## Don't use the below:
\method{isMatrix}{Assert}(static, x, nrow=NULL, ncol=NULL, ...)
}
\arguments{
\item{x}{Object to be checked.}
\item{nrow}{Required number of rows. If \code{\link[base]{NULL}}, this is not checked.}
\item{ncol}{Required number of columns. If \code{\link[base]{NULL}}, this is not checked.}
\item{...}{Not used.}
}
\value{
Returns (invisibly) \code{\link[base:logical]{TRUE}}, or throws an exception.
}
\author{Henrik Bengtsson}
\seealso{
For more information see \code{\link{Assert}}.
}
\keyword{internal}
\keyword{methods}
|