renameColumns: Rename Columns in a Data Frame

View source: R/column.R

renameColumnsR Documentation

Rename Columns in a Data Frame

Description

Rename columns in a data frame giving tupels of original name and substitute name as named elements in list "renames"

Usage

renameColumns(x, renamings = NULL)

Arguments

x

data.frame

renamings

list with named elements each of which defines a column rename in the form <old-name> = <new-name>

Value

dframe with columns renamed as specified in renames


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.