R/not.in.R

#` Not in
#' The not-in operator for R.
#' @return
#' @export
#'
#' @examples
#'
#' # Will return rows where carb isn't equal to 1 or 2
#' d1 = dplyr::filter(mtcars,carb %in% c(1,2))
#'
'%nin%' <- function(x,y){
    !('%in%'(x,y))
}
baynec2/biolabr documentation built on Aug. 8, 2022, 12:02 a.m.