is.numeric.matrix {matrixcalc} | R Documentation |
This function returns TRUE of the argument is a matrix object with numeric values.
is.numeric.matrix(x)
x |
an R object |
TRUE or FALSE.
Frederick Novomestky fnovomes@poly.edu
A <- matrix( seq( 1, 16, 1 ), nrow=4, byrow=TRUE ) is.numeric.matrix( A ) D <- data.frame( A ) is.numeric.matrix( D )