Description Usage Arguments Value Examples
Function is based on the code provided as an example for the function
base::is.integer()
(which does NOT do what you might expect).
1 |
.x |
Value or numerical vector to check |
.tol |
The tolerance. How close to an integer do you want to count as an integer? Default value is related to precision of floats, and thus depends on the computer and specific R installation. The default may be far too precise for many use cases, where you want to accept numbers somewhat close to an integer value. |
Boolean (TRUE
or FALSE
) vector, with length matching the
length of .x
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.