clean_replace: Replace words in string.

Description Usage Arguments Value Author(s)

View source: R/clean_replace.R

Description

Identify occurring patterns with a replacement and operate the replacement

Usage

1
clean_replace(text, replacements)

Arguments

text

Character. A string in which patterns have to be replaced.

replacements

Tibble. A tibble with two variables: "pattern" and "replacement".

Value

The initial string or vector in which replacements have been made.

Author(s)

Nicolas Mangin


NicolasJBM/lexR documentation built on Feb. 4, 2021, 6:43 p.m.