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