R/mop-vectors.R

Defines functions which_in which_not_in remove_na

#' @export
which_in <- function(x,y) x[x %in% y]

#' @export
which_not_in <- function(x,y) x[!x %in% y]

#' @export
remove_na <- function(x) x[!is.na(x)]
jpmarindiaz/mop documentation built on July 17, 2019, 3:23 p.m.