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