is.wholenumber: Define function to check an integer

View source: R/global.R

is.wholenumberR Documentation

Define function to check an integer

Description

Define function to check an integer

Usage

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 May 29, 2024, 7:32 a.m.