capitalize_character {capl}R Documentation

Capitalize a character vector.

Description

This function capitalizes a character vector.

Usage

capitalize_character(x = NA)

Arguments

x

A character vector.

Details

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

Value

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

Examples

capitalize_character(c("beginning", "progressing", "achieving", "excelling"))

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


[Package capl version 1.39 Index]