R/utils.R

Defines functions is_near

# dplyr::near
is_near <- function(x, y, tol = .Machine$double.eps^0.5) {
  abs(x - y) < tol
}
christophsax/tsbox documentation built on Sept. 22, 2023, 2:35 p.m.