is_integer_like: check if x is within 'tol' of 'x'

View source: R/general_functions.R

is_integer_likeR Documentation

check if x is within tol of x

Description

check if x is within tol of x

Usage

is_integer_like(x, tol = sqrt(.Machine$double.eps))

Arguments

x

numeric vector of length 1

tol

tolerance

Value

logical vector of length 1


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.