Learn R Programming

capl (version 1.39)

capitalize_character: Capitalize a character vector.

Description

This function capitalizes a character vector.

Usage

capitalize_character(x = NA)

Arguments

x

A character vector.

Value

Returns a character vector (if valid) or NA (if not valid).

Details

Other capl functions called by this function include: validate_character().

Examples

Run this code
# NOT RUN {
capitalize_character(c("beginning", "progressing", "achieving", "excelling"))

# [1] "Beginning"   "Progressing" "Achieving"   "Excelling"

# }

Run the code above in your browser using DataLab