Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

is.whole

is.whole


Description

Boolean for evaluating whole numbers

Usage

is.whole(a, tol = 0.0000001)

Arguments

a

A numeric vector to evaluate, only first element will be evaluated

tol

numeric >= 0, differences smaller than tolerance are not reported

Value

A Boolean indicating if number is whole or float

Author(s)

Jeffrey S. Evans <jeffrey_evans@tnc.org>

Examples

is.whole( 1 )
is.whole( 1.5 )
is.whole( 0.5 )

spatialEco

Spatial Analysis and Modelling Utilities

v1.3-6
GPL-3
Authors
Jeffrey S. Evans [aut, cre], Melanie A. Murphy [ctb], Karthik Ram [ctb]
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.