is.wholenumber: Check if a variable is a whole number

View source: R/compute_ori_sca.R

is.wholenumberR Documentation

Check if a variable is a whole number

Description

Check if a variable is a whole number

Usage

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

Arguments

x

A number.

tol

Tolerance threshold.

Value

A logical value indicating whether a number is an integer, given a certain tolerance threshold.


ggHoriPlot documentation built on Oct. 11, 2022, 5:07 p.m.