is.wholenumber | R Documentation |
Check if a value is a whole number
is.wholenumber(x, tol = .Machine$double.eps^0.5)
x |
( |
tol |
( |
TRUE
if x
is within tol
of zero, FALSE
otherwise.
is.wholenumber(5)
is.wholenumber(5.00000000000000001)
is.wholenumber(.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.