abbreviate_name: Abbreviate a vector of names

View source: R/Utils.R

abbreviate_nameR Documentation

Abbreviate a vector of names

Description

Abbreviate a vector of names

Usage

abbreviate_name(name, max_word_length = Inf, collapse = "")

Arguments

name

A character vector of long character strings.

max_word_length

Maximum word length before truncation.

collapse

A string used to join the abbreviation letters.

Value

A character vector of abbreviated names.

Examples

abbreviate_name(c("Large Cap Growth", "Small Value"), max_word_length = 3)

PCRA documentation built on July 15, 2026, 9:06 a.m.