is.wholenumber: Test whether an object is a whole number

Description Usage Arguments Value Examples

Description

Test whether an object is a whole number.

Usage

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

Arguments

x

object to be tested

tol

tolerance within which a number is said to be whole

Value

Vector of logicals.

Examples

1
is.wholenumber(seq(-3,3,.5))

mpoly documentation built on March 26, 2020, 7:33 p.m.