Learn R Programming

crmPack (version 1.0.0)

is.wholenumber: checks for whole numbers (integers)

Description

checks for whole numbers (integers)

Usage

is.wholenumber(x, tol = .Machine$double.eps^0.5)

Arguments

x

the numeric vector

tol

the tolerance

Value

TRUE or FALSE for each element of x