R/only.R

Defines functions only

only <- function(x, target, compare){
  
  x <- x[x != target]
  !any(x %in% compare) & (target %in% compare)
  
}
apear9/rdwplus documentation built on Feb. 13, 2025, 11:34 a.m.