is.wholenumber {ggHoriPlot} | R Documentation |
Check if a variable is a whole number
is.wholenumber(x, tol = .Machine$double.eps^0.5)
x |
A number. |
tol |
Tolerance threshold. |
A logical value indicating whether a number is an integer, given a certain tolerance threshold.