norm_var_names: Converts character vector to sanitised varirable names

Description Usage Arguments Value Examples

Description

This function normalises the input string vector _ and small case output, no spaces, no . etc

Usage

1
norm_var_names(vars, sep = "_")

Arguments

a

character vector, usually of header of data frames

Value

a normalised character vector of names

Examples

1
norm_var_names(c("asdf#asfadf$ asdfa -", "aff _234RR_RR+2"))

nehiljain/genewiseR documentation built on May 23, 2019, 1:31 p.m.