#' not_in
#'
#' @description Checks for where x is not in y. The opposite of the base %in% function.
#'
#' @param x A vector.
#' @param y A comparison vector.
#'
#' @return A logical vector of equal length to x indicating which elements of x are not located in y.
#' @export
#'
not_in <- function(x, y) {
!('%in%'(x, y))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.