tidynames: tidynames can replace awkward data.frame names with better...

View source: R/rutils.R

tidynamesR Documentation

tidynames can replace awkward data.frame names with better ones

Description

tidynames can replace awkward or overly long data.frame column names with better ones that are easier to use. It also permits one to maintain the same set of column names within an analysis even when the source data.frame includes alterations.

Usage

tidynames(columns, replace, repwith)

Arguments

columns

the vector of names that should include the ones to be altered

replace

the names to be changed, as a vector of character strings

repwith

the replacement names as a vector of character strings

Value

a vector of new columns names

Examples

 print("wait")

haddonm/codeutils documentation built on April 15, 2024, 1:02 p.m.