Description Usage Arguments Value Examples
Test if all the components of a numeric vector is whole number or not.
1 | is.wholenumbers(number, na.rm = F)
|
number |
numeric vector. |
na.rm |
logical. Passed to |
A logical value.
1 2 3 | blvibmjp:::is.wholenumbers(3L) # TRUE
blvibmjp:::is.wholenumbers(3) # TRUE
blvibmjp:::is.wholenumbers(pi) # FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.