rsetdiff: Reverse setdiff

Description Usage Arguments Value Author(s) Examples

View source: R/set.R

Description

reverse setdiff, i.e. rsetdiff(x,y) equals setdiff(y,x)

Usage

1
rsetdiff(x, y)

Arguments

x

a vector

y

another vector

Value

Similar to setdiff, but with elements in y but not in x

Author(s)

Jitao David Zhang

Examples

1
2
3
testVec1 <- LETTERS[3:6]
testVec2 <- LETTERS[5:7]
rsetdiff(testVec1, testVec2)

ribiosUtils documentation built on March 13, 2020, 2:54 a.m.