fixNames: Prepare data frame column names for export

Description Usage Arguments Value

View source: R/util-export.R

Description

Removes punctuation from data frame column names, replacing all with underscores and removing underscores that are repeated one after another

Usage

1
fixNames(df, prefix = "")

Arguments

df

The data frame whose columns are to be renamed

prefix

An optional prefix to place in front of all column names

Value

A data frame identical to the one passed in, but with new column names.


ConvergenceDA/visdom documentation built on May 6, 2019, 12:51 p.m.