is.wholenumber: Tests if each value in a vector is a whole number

View source: R/fitting.R

is.wholenumberR Documentation

Tests if each value in a vector is a whole number

Description

Test if each value in a vector is a whole number. Taken from ?is.integer and documentation is added here.

Usage

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

Arguments

x

vector

tol

tolerance

Value

vector of TRUE/FALSE corresponding to each element of x

Author(s)

Andrew Edwards


andrew-edwards/sizeSpectra documentation built on June 28, 2023, 7:09 p.m.