setdiff2: Differences between sets a and b

View source: R/setdiff2.R

setdiff2R Documentation

Differences between sets a and b

Description

Returns the elements that in a or b but not in both (i.e., the differences between sets a and b)

Usage

setdiff2(a, b)

Arguments

a

Required vector

b

Required vector

Value

Vector of elements

See Also

setdiff() which is a bit different

Examples

setdiff2(1:10, 3:12)
setdiff2(c('a','b','c'), c('b','c','d'))

ejanalysis/analyze.stuff documentation built on April 2, 2024, 10:10 a.m.