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)

acidgenomics/syntactic documentation built on Oct. 28, 2023, 7:12 a.m.