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/r-syntactic documentation built on Oct. 30, 2023, 3:08 a.m.