R/comparison.R

Defines functions `%!=%` `%==%`

`%==%` <- function(x, y) {
  (!(is.na(x) & !is.na(y)) &
     !(is.na(y) & !is.na(x)) &
     (is.na(x) & is.na(y) |
        x == y))
}

`%!=%` <- function(x, y) {
  !(x %==% y)
}

Try the testdat package in your browser

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

testdat documentation built on Sept. 4, 2023, 1:06 a.m.