is.wholenumber | R Documentation |
This function is taken from the examples of the 'integer' function from the 'base' package.
is.wholenumber(x, tol = .Machine$double.eps^0.5)
x |
A 'numeric' value which needs to be checked to understand if it is an 'integer'. |
A 'boolean' value that specifies whether the supplied value is an 'integer' or not.
'base' R package
is.wholenumber(4.2) is.wholenumber(6) is.wholenumber(seq(1, 5, by = 0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.