capitalize_firstLetter: Internal function to capitalize the first letter of a...

View source: R/small_helpers.R

capitalize_firstLetterR 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


APCtools documentation built on Jan. 14, 2023, 1:15 a.m.