gsub_many: Recursive substitution

View source: R/helpers.R

gsub_manyR Documentation

Recursive substitution

Description

Applies gsub() from multiple patterns to multiple replacements with 1:1 mapping.

Usage

gsub_many(x, pattern_vector, replacement_vector, ...)

Arguments

x

A character vector.

pattern_vector

A character vector.

replacement_vector

A character vector.

...

Options passed onto gsub() call.

Value

Returns multiple expression with substituted elements


macartan/gbiqq documentation built on April 28, 2024, 10:07 p.m.