R/utils.R

Defines functions eq

Documented in eq

#' Test for equality within machine tolerance
#'
#' @param x,y Numeric values to compare
#' @return `TRUE` if equal, `FALSE` otherwise
#' @author Alexey Shiklomanov
eq <- function(x, y) {
  isTRUE(all.equal(x, y))
}
ashiklom/rrtm documentation built on Aug. 10, 2022, 5:04 a.m.