| isWholeNo {ChemoSpec} | R Documentation |
This function determines if a given number is a whole number within a given
tolerance. Taken from the help page of is.integer. An
internal function, not generally called by the user.
isWholeNo(x, tol = .Machine$double.eps^0.5)
x |
A number to be tested. |
tol |
Tolerance for the test. |
A logical, indicating the outcome of the test.
Bryan A. Hanson, DePauw University. Carved out of is.integer.
https://github.com/bryanhanson/ChemoSpec