whole.number: Check an array on whole numbers (x in I).

Description Usage Arguments Value Author(s) Examples

Description

whole.number checks an array whether it consists of whole numbers only (x in I).

Usage

1

Arguments

x

A numerical array.

Value

TRUE, FALSE

Author(s)

Bill Venables adapted by Christian W. Hoffmann <christian@echoffmann.ch>

Examples

1
2
whole.number(c(pi,2,3)) # FALSE
whole.number(c(1,2,3))  # TRUE


Search within the cwhmisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.