grapes-excludef-grapes: Convenience inflix operator to return vector elements...

Description Usage Arguments Value Examples

Description

Convenience inflix operator to return vector elements excluding a fixed pattern.

Usage

1
vector %excludef% pattern

Arguments

vector

Vector.

pattern

Pattern.

Value

A vector of elements in vector not matching pattern.

Examples

1
2
3
4
5
6
library(magrittr)
library(dt.inflix)

  v <- c("Apple", "apple", "APPLE")

  v %include% "Ap"

andrewrech/dt.inflix documentation built on Nov. 23, 2017, 10:08 a.m.