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 May 31, 2023, 6:41 p.m.