is.numeric.matrix {matrixcalc}R Documentation

Determine if argument is a numeric matrix

Description

This function returns TRUE of the argument is a matrix object with numeric values.

Usage

is.numeric.matrix(x)

Arguments

x

an R object

Value

TRUE or FALSE.

Author(s)

Frederick Novomestky fnovomes@poly.edu

Examples

A <- matrix( seq( 1, 16, 1 ), nrow=4, byrow=TRUE )
is.numeric.matrix( A )
D <- data.frame( A )
is.numeric.matrix( D )

[Package matrixcalc version 1.0-1 Index]