capit_two_words: Capitalize two-word strings

View source: R/capit_two_words.R

capit_two_wordsR Documentation

Capitalize two-word strings

Description

Ancillary function to capitalize the first letter of both words in a two-word string. This can be used for example to capitalize the teams names for the plots title.

Usage

capit_two_words(two_word_string)

Arguments

two_word_string

Two-word string.

Value

Vector with the two words capitalized.

Author(s)

Guillermo Vinue

Examples

capit_two_words("valencia basket")


BAwiR documentation built on April 3, 2025, 6:12 p.m.