Description Usage Arguments Value References Examples
View source: R/detect.r View source: R/gvfc.r View source: R/trends.r View source: R/baci.r View source: R/precision.R
Used in error checking to ascertain whether a function argument is an integer.
1 | is.wholenumber(x, tol = .Machine$double.eps^0.5)
|
x |
Number to be checked. |
tol |
If |
Vector of logical values if the corresponding input values is an integer or not.
is.wholenumber
is taken from the is.integer
help file.
1 | is.wholenumber( seq(1, 5, by = 0.5) ) #--> TRUE FALSE TRUE ...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.