is.wholenumber: Check Integer Values

Description Usage Arguments Value Author(s) Examples

View source: R/misc.R

Description

This function is taken from the examples of the 'integer' function from the 'base' package.

Usage

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

Arguments

x

A 'numeric' value which needs to be checked to understand if it is an 'integer'.

Value

A 'boolean' value that specifies whether the supplied value is an 'integer' or not.

Author(s)

'base' R package

Examples

1
2
3

SMAC-Group/gmwm documentation built on Sept. 11, 2021, 10:06 a.m.