Learn R Programming

iNZightTools (version 2.0.1)

is_num: Is numeric check

Description

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.

Usage

is_num(x)

Value

logical, TRUE if the variable is numeric

Arguments

x

the variable to check

Author

Tom Elliott