is_wholenumber: Check if number(s) is/are integers. In contrast to...

Description Usage Arguments

View source: R/plots.R

Description

Check if number(s) is/are integers. In contrast to is.integer, is_wholenumber does not check the class but accepts all numbers that are integers with reasonable precision.

Usage

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

Arguments

x

Number to test

tol

tolerance for testing


scUtils documentation built on July 2, 2020, 4:05 a.m.