str_extract_nomatch {textTools}R Documentation

Extract words from a vector that are not found in another vector.

Description

Extract words from a vector that are not found in another vector.

Usage

str_extract_nomatch(x, y)

Arguments

x

A vector of words.

y

A vector of words to test against.

Value

x, with the words found in y removed.

Examples

str_extract_nomatch(
x = c("a", "dog", "went", "to", "the", "store"),
y = c("dog", "to", "store")
)

[Package textTools version 0.1.0 Index]