View source: R/watanabe-misc.R
isInteger | R Documentation |
Checks whether the given object is an integer number. This is differnet behavior from is.integer
, which checks whether the variable type is integer. This often will not be useful.
isInteger(x)
x |
A vector to test for integerness |
A logical vector the same length as x
in which the i
th element is TRUE if the i
th element of x
is an integer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.