Skip to contents

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