capitalize_firstLetter {APCtools}R Documentation

Internal function to capitalize the first letter of a character

Description

Internal helper function to capitalize the first letter of a character value. The use case is to create a plot label like 'Age' from a variable name like 'age'.

Usage

capitalize_firstLetter(char)

Arguments

char

Character value whose first letter should be capitalized


[Package APCtools version 1.0.4 Index]