Check Matrix Validity
CheckMatrix(object, checks, ...)# S3 method for default
CheckMatrix(object, checks, ...)
# S3 method for dMatrix
CheckMatrix(object, checks = c("infinite", "logical", "integer", "na"), ...)
# S3 method for lMatrix
CheckMatrix(object, checks = c("infinite", "logical", "integer", "na"), ...)
Emits warnings for each test and invisibly returns NULL
A matrix
Type of checks to perform, choose one or more from:
“infinite
”: Emit a warning if any value is infinite
“logical
”: Emit a warning if any value is a logical
“integer
”: Emit a warning if any value is not
an integer
“na
”: Emit a warning if any value is an NA
or NaN
Arguments passed to other methods