is.wholenumber: Define function to check an integer

Description Usage Arguments Value

View source: R/global.R

Description

Define function to check an integer

Usage

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

Arguments

x

a numeric

tol

a real which defines the tolerance

Value

a logical. TRUE if x is an integer, FALSE otherwise.


Rmixmod documentation built on June 26, 2018, 5:02 p.m.