R/utils.R

Defines functions is_near

# dplyr::near
is_near <- function(x, y, tol = .Machine$double.eps^0.5) {
  abs(x - y) < tol
}

Try the tsbox package in your browser

Any scripts or data that you put into this service are public.

tsbox documentation built on Oct. 23, 2024, 1:07 a.m.