Checks if the variable is a count variable

is.count(x, tol = .Machine$double.eps^0.5)

Arguments

x

vector to be checked

tol

Tolerance

Value

Function returns logical value indicating whether x can be considered a count variable or not.