is_wholenumber | R Documentation |
Check if x
is an integer number, differently from is.integer
,
which checks the type of the object x
is_wholenumber(x, tol = .Machine$double.eps^0.5)
x |
a scalar or a numeric vector |
tol |
a scalar, indicating the tolerance |
From the help page of function is.integer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.