whole.number {cwhmisc} | R Documentation |
whole.number
checks an array whether it consists of whole numbers only (x in I).
whole.number(x)
x |
A numerical array. |
Bill Venables
adapted by Christian W. Hoffmann <c-w.hoffmann@sunrise.ch>
http://www.wsl.ch/personal_homepages/hoffmann/index_EN?-C=&n
whole.number(c(pi,2,3)) # FALSE whole.number(c(1,2,3)) # TRUE