toheader {NCmisc} | R Documentation |
Return a string with each first letter of each word in upper case.
Description
Return a string with each first letter of each word in upper case.
Usage
toheader(txt, strict = FALSE)
Arguments
txt |
a character string |
strict |
whether to force non-leading letters to lowercase |
Value
Vector minus NA's, or the matrix/data.frame minus NA rows
Author(s)
via R Core
Examples
toheader(c("using AIC for model selection"))
toheader(c("using AIC", "for MODEL selection"), strict=TRUE)
[Package NCmisc version 1.2.0 Index]