is.wholenumber: Check if a number is integer

Description Usage Arguments Note

View source: R/utils.R

Description

Check if x is an integer number, differently from is.integer, which checks the type of the object x

Usage

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

Arguments

x

a scalar or a numeric vector

tol

a scalar, indicating the tolerance

Note

From the help page of function is.integer


rhobis/jipApprox documentation built on Sept. 26, 2018, 5:20 p.m.