replace_words: Replace words from a list by another word

Description Usage Arguments Value

Description

Replace words from a list by another word

Usage

1
replace_words(x, replacements)

Arguments

x

character vector. Texts to clean.

replacements

dataframe. Table with two variables: "pattern" for the string to replace and "replacement" for the string to put instead.

Value

A clean character vector.


NicolasJBM/lexana documentation built on July 3, 2019, 10 a.m.