is_count: Check for count variable
Description
Checks if the variable is a count variable
Usage
is_count(x, tol = .Machine$double.eps^0.5)
Value
Function returns logical value indicating whether x can be considered
a count variable or not.
Arguments
- x
vector to be checked
- tol
Tolerance