totitle: Convert Text to Title Case

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/totitle.R

Description

Convert text to title case. I.e., capitalize each word. If strict is TRUE, force subsequent letters in each word to be lower case.

Usage

1
2
totitle(x, strict = FALSE)
titleCase(x, strict = TRUE,...)

Arguments

x

character

strict

Shall non-first letters of words be coerced to lower case?

...

ignored

Details

The code for totitle is borrowed from the R help for toupper (capword).

Value

character

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also

Examples

1
titleCase('THETA1')	

metrumresearchgroup/metrumrg documentation built on May 22, 2019, 7:51 p.m.