Check if number(s) is/are integers. In contrast to is.integer, is_wholenumber does not check the class but accepts all numbers that are integers with reasonable precision.
1 | is_wholenumber(x, tol = .Machine$double.eps^0.5)
|
x |
Number to test |
tol |
tolerance for testing |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.