is_num {iNZightTools} | R Documentation |
This function checks if a variable is numeric,
or could be considered one.
For example, dates and times can be treated as numeric,
so return TRUE
.
is_num(x)
x |
the variable to check |
logical, TRUE
if the variable is numeric
Tom Elliott