Test whether argument is numeric or a data.frame with numeric columns.
Usage
isNumeric(x)
Arguments
x
any object
Value
or FALSE
Details
This function is used to check the validity of arguments for numeric functions.
It is an attempt to emulate the behavior of internal generic math functions.
isNumeric differs from is.numeric in that data.frames with all columns numeric are accepted as numeric.