R/only.R

Defines functions only

only <- function(x, target, compare){
  
  x <- x[x != target]
  !any(x %in% compare) & (target %in% compare)
  
}

Try the rdwplus package in your browser

Any scripts or data that you put into this service are public.

rdwplus documentation built on April 4, 2025, 1:49 a.m.