Learn R Programming

reportRmd (version 0.1.0)

nicename: Lean strings for printing

Description

Returns strings with . and _ replaced by a space. This is nice when printing column names of your dataframe in a report

Usage

nicename(strings, check_numbers = TRUE)

Arguments

strings

vector of strings to give a nice name

check_numbers

boolean indicating if numbers with decimals should be checked for and retained.