Learn R Programming

r4ss (version 1.44.0)

is.wholenumber: Utility function to test if x is "numerically" integer wrt machine epsilon taken from example section of help of is.integer

Description

Utility function to test if x is "numerically" integer wrt machine epsilon taken from example section of help of is.integer

Usage

is.wholenumber(x, tol = .Machine[["double.eps"]]^0.5)

Arguments

x

value to check if it is "integer"

tol

tolerace