capwords: Convert mixed case strings to capital case

Description Usage Arguments Value Examples

View source: R/string_manipulation.R

Description

Convert mixed case strings to capital case

Usage

1
capwords(s, strict = FALSE)

Arguments

s

A character vector of strings

strict

Should strings such as acronyms also be converted

Value

A character vector with strings in mixed case converted to capital case s

Examples

1
2
fish_names = c("king = chinook", "silver = coho")
capwords(fish_names)

arestrom/remisc documentation built on July 16, 2020, 8:48 a.m.