Learn R Programming

wpa (version 1.9.0)

camel_clean: Convert "CamelCase" to "Camel Case"

Description

Convert a text string from the format "CamelCase" to "Camel Case". This is used for converting variable names such as "LevelDesignation" to "Level Designation" for the purpose of prettifying plot labels.

Usage

camel_clean(string)

Value

Returns a formatted string.

Arguments

string

A string vector in 'CamelCase' format to format

See Also

Other Support: check_inputs(), combine_signals(), cut_hour(), extract_date_range(), extract_hr(), heat_colours(), is_date_format(), maxmin(), p_test(), pairwise_count(), plot_WOE(), read_preamble(), rgb2hex(), totals_bind(), totals_col(), totals_reorder(), tstamp(), us_to_space(), wrap()

Examples

Run this code
camel_clean("NoteHowTheStringIsFormatted")

Run the code above in your browser using DataLab