powered by
checks for whole numbers (integers)
is.wholenumber(x, tol = .Machine$double.eps^0.5)
the numeric vector
the tolerance
TRUE or FALSE for each element of x