make_pretty_name: Make string aesthetically pleasing

View source: R/string-manipulation.R

make_pretty_nameR Documentation

Make string aesthetically pleasing

Description

Takes input and applies the following functions to it

  1. make_capital_letters()

Usage

make_pretty_name(string, make.pretty = TRUE, ...)

make_pretty_names(strings, ...)

make_pretty_levels(fct, ...)

Arguments

string

Character value. Returns input as is if it is not a character value.

make.pretty

Logical. If set to FALSE the input string is returned.

...

Additional argument given to make_capital_letters.

strings

Character vector.

fct

Factor.

Value

A more aesthetically pleasing version of the input.


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.