powered by
Test whether an object is a whole number.
is.wholenumber(x, tol = .Machine$double.eps^0.5)
object to be tested
tolerance within which a number is said to be whole
Vector of logicals.
# NOT RUN { is.wholenumber(seq(-3,3,.5)) # }
Run the code above in your browser using DataLab