Shorthand for is.numeric
isnum(x)
x
Value to check.
logical indicator
isnum(1) isnum( factor( c( 'a', 'b', 'c' ) ) )