without: Return the elements of x not in y

Description Usage Arguments Value Author(s) Examples

Description

Return the elements of x not in y. In set notation, this returns A \ B

Usage

1
x %w/o% y

Arguments

x

First vector

y

Second vector

Value

Returns the elements of x not in y

Author(s)

Subhrangshu Nandi, PhD Statistics, UW Madison; snandi@wisc.edu or nands31@gmail.com

Examples

1
2
3
x <- c(4, 1, 5, 6) 
y <- c(4, 5) 
x \%w/o\% y

snandi/RFunctionsSN documentation built on May 30, 2019, 5:04 a.m.