Description Usage Arguments Details Value
R isn't the best language for strict typing, and it particularly struggles
with integers. For example, is.integer(5) returns FALSE, because 5 is
not the same as 5L. This function will attempt to convert a numeric or a
character
1 |
x |
An integer-like value, or a character that represents an integer. |
A simpler (and potentially faster) implementation of this function would use
the is_integerish function.
an integer if possible, or an error if not
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.