diffr: A more flexible setdiff

Description Usage Arguments Value

Description

A version of setdiff with a "reverse order" option and a "cbind" version that combines the "regular" and the "reverse" order into a data.frame.

Usage

1
diffr(x, y, order = "xy")

Arguments

x

A vector

y

A vector

order

One of "xy", "yx", or "df".

Value

a vector of items present in X (or Y) but not in Y (or X)


graiffgarcia/rrR documentation built on April 12, 2021, 5:28 a.m.