spocc_capwords

0th

Percentile

Capitalize the first letter of a character string.

Capitalize the first letter of a character string.

Keywords
internal
Usage
spocc_capwords(s, strict = FALSE, onlyfirst = FALSE)
Arguments
s

A character string

strict

Should the algorithm be strict about capitalizing. Default: FALSE

onlyfirst

Capitalize only first word, lowercase all others. Useful for taxonomic names.

Aliases
  • spocc_capwords
Examples
# NOT RUN {
spocc_capwords(c('using AIC for model selection'))
spocc_capwords(c('using AIC for model selection'), strict=TRUE)
# }
Documentation reproduced from package spocc, version 1.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.