Learn R Programming

Rmixmod (version 2.1.10)

is.wholenumber: Define function to check an integer

Description

Define function to check an integer

Usage

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

Value

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

Arguments

x

a numeric

tol

a real which defines the tolerance