makeTitle: Make a title out of character string

makeTitleR Documentation

Make a title out of character string

Description

Doesn't modify strings already containing a space or multi-letter acronym.

Usage

makeTitle(object, ...)

## S4 method for signature 'character'
makeTitle(object)

Arguments

object

Object.

...

Additional arguments.

Value

character(1). British style sentence case.

Note

Updated 2020-01-27.

See Also

  • makeWords().

  • sentenceCase().

  • stringr::str_to_sentence().

Examples

makeTitle("mitoVsCoding")
makeTitle("log10GenesPerUMI")
makeTitle("Already A Title")
makeTitle("NASA")

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