prettifyVariablename: Make machine variable names pretty for display

View source: R/accessory.R

prettifyVariablenameR Documentation

Make machine variable names pretty for display

Description

Just split out words using '_' and capitalise first letter

Usage

prettifyVariablename(vn, tolower = FALSE)

Arguments

vn

A string to be prettified

tolower

Convert to lower case first? (Default: FALSE)

Value

output Prettified string

Examples

vn <- "ugly_name_of_thing"
prettyifyVariablename(vn)


pinin4fjords/shinyngs documentation built on May 5, 2024, 7:17 a.m.