Description Usage Arguments Value Examples
View source: R/is.wholenumber.R
Function borrowed from the examle section for integer
.
1 | is.wholenumber(x, tol = .Machine$double.eps^0.5)
|
x |
a numeric vector |
tol |
How much is |
Logical vector with same length as x
.
1 2 3 | is.wholenumber(1) # is TRUE
(x <- seq(1, 5, by = 0.5) )
is.wholenumber( x ) #--> TRUE FALSE TRUE ...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.