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 June 26, 2024, 5:07 p.m.