Description Usage Arguments Details Value Author(s) Examples
Checks whether the submitted vector of values is a whole (integer) number.
1 | is_whole(x)
|
x |
A |
The is_whole
function provides a means to test whether
the base::numeric()
or base::integer()
is a part of the whole
number span (integers). For example, 1
and 2
would be considered integers
whereas 3.6
and 0.31
would be considered base::numeric()
. The behavior
of this function differs from base::is.integer()
as it is not
performing a check on the storage type] of the vector
but instead on the actual vector contents.
A boolean
value indicating whether the value is an integer or not.
JJB
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.