Learn R Programming

EpiReport (version 1.0.4)

toCapTitle: Capitalise first letter

Description

Capitalise the first letter of a character string in order to use it as title

Usage

toCapTitle(str)

Value

character string

Arguments

str

character string to capitalise as a title

Examples

Run this code
my_title <- "number of salmonellosis cases by age group"
toCapTitle(my_title)

Run the code above in your browser using DataLab