is.wholenumber: checks for whole numbers (integers)

View source: R/helpers.R

is.wholenumberR Documentation

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


crmPack documentation built on Sept. 3, 2022, 1:05 a.m.