is.wholenumber | R Documentation |
To judge the number is whole number or not
is.wholenumber(x, tol = .Machine$double.eps^0.5)
x |
x is a numeric number |
tol |
Define in function |
Return TRUE or FALSE to judge x is whole number or not
OuYang Ming
Friedrich Leisch, 2008 Creating R packages: A Tutorial Zhang Jinlong, How to create R package under Windows FAQ in R-PROJECT
r=8
is.wholenumber(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.