replace_abbr: Replace abbreviation

Description Usage Arguments Value

Description

replace_abbr() is a Replace function that edits an object, replacing a specified element with another specified element. Specifically, this function implements an algorithm to replace abbreviation. Function argument title_chr specifies the object to be updated. Argument abbreviations_lup provides the object to be updated. The function returns Title (a character vector).

Usage

1
replace_abbr(title_chr, abbreviations_lup = NULL, collapse_lgl = T)

Arguments

title_chr

Title (a character vector)

abbreviations_lup

Abbreviations (a lookup table), Default: NULL

collapse_lgl

Collapse (a logical vector), Default: T

Value

Title (a character vector)


readyforwhatsnext/ready4fun documentation built on Nov. 22, 2020, 9:28 p.m.