replace_abbr: Replace abbreviation

replace_abbrR Documentation

Replace abbreviation

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. The function returns Title (a character vector).

Usage

replace_abbr(title_chr, abbreviations_lup, collapse_lgl = T)

Arguments

title_chr

Title (a character vector)

abbreviations_lup

Abbreviations (a lookup table)

collapse_lgl

Collapse (a logical vector), Default: T

Value

Title (a character vector)


ready4-dev/ready4fun documentation built on April 22, 2024, 8:33 a.m.