check if input is natural number
is.naturalnumber(x, tol = .Machine$double.eps^0.5)
numeric number to be checked
maximum accepted tolerance when checking if natural
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.