make_names: Standardize variable names

Description Usage Arguments Value Examples

Description

Normalize names to lowercase separated by underscores from character vector.

Usage

1

Arguments

names

character vector to be coerced to syntactically valid names. This is coerced to character if necessary.

Value

A character vector of same length as names with each changed to a normalized variable name.

Examples

1
2
n <- c('An', 'ex.amPLE', ' of me$$y', 'var__i@ble names  ')
make_names(n)

KevinRPan/handy documentation built on May 4, 2019, 2:34 p.m.