R/not_in.R

#' Reverse Value Matching.
#'
#' Returns a logical vector TRUE for elements of X not in Y
#'
#' Author: Holger Kirsten
#'
#' @param x Vector
#'
#' @param y Vector to compare against
#'
#' @export

"%nin%" <- function(x, y) {
    !(x %in% y)
}
cfbeuchel/CarlHelpR documentation built on Dec. 24, 2019, 8:08 p.m.