Description Usage Arguments Details Value Author(s)
Determine whether each element of x reasonably be interpreted as a whole number.
1 | is.wholenumber(v, tol = .Machine$double.eps^0.5)
|
v |
A numeric vector. |
tol |
What counts as close enough to 0? Defaults to .Machine$double.eps^0.5. |
Takes a numeric vector and returns a Logical vector the same length.
A vector of Logicals.
Cribbed from example in integer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.