Learn R Programming

funchir (version 0.3.0-1)

funchir-infix: Convenient Infix Operators

Description

An infix operator as convenient shorthand for set modulation (A\B)

Usage

A %\% B

Value

This is just a wrapper for setdiff

Arguments

A,B

Objects which can be treated as sets.

Examples

Run this code
  set1 <- 1:5
  set2 <- 4:6

  set1 %\% set2 # c(1,2,3)

Run the code above in your browser using DataLab