Learn R Programming

charcuterie (version 0.0.4)

except: Elements of x Except Those in y

Description

Does not treat the operation as a set.

Usage

except(x, y)

Value

elements of x not appearing in y.

Arguments

x

larger vector.

y

smaller vector.

Examples

Run this code
except(c(1:5), 3)
except(chars("abcde"), "c")
except(chars("abracadabra"), "b")

Run the code above in your browser using DataLab