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

Description Usage Arguments Value Author(s) Examples

View source: R/whole.number.R

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

cwhmisc documentation built on May 29, 2017, 12:20 p.m.

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