is.wholenumber {HDiR} | R Documentation |
This function checks if a value is integer.
is.wholenumber(x, tol = .Machine$double.eps^0.5)
x |
Numeric value to check if it is integer. |
tol |
Tolerance parameter. |
Logical value: TRUE
if x
is integer and FALSE
if x
is not integer.
Paula Saavedra-Nieves and Rosa M. Crujeiras.