capitalize: Capitalize

capitalizeR Documentation

Capitalize

Description

Capitalize

Usage

capitalize(object, ...)

## S4 method for signature 'character'
capitalize(object, strict = FALSE)

Arguments

object

Object.

strict

logical(1). Enforce strict renaming of words containing multiple capital letters, including acronyms.

...

Additional arguments.

Value

Modified object.

Note

Updated 2020-01-27.

Examples

x <- c("the quick Brown fox", "using AIC for model selection")
capitalize(x, strict = FALSE)
capitalize(x, strict = TRUE)

steinbaugh/syntactic documentation built on Oct. 31, 2023, 10:36 p.m.