R/utils.R

Defines functions `%notin%`

#' @import dplyr
#' @import ggplot2
#' @importFrom magrittr %>%
#' @export
magrittr::`%>%`

#' @export
`%notin%` <- function(x, table) {
  !(match(x, table, nomatch = 0L) > 0L)
}
burchill/zplyr documentation built on Feb. 2, 2023, 11:01 a.m.