Skip to contents

Rename and Select Columns of a Data Frame

Usage

renameAndSelect(data, renames, columns = unlist(renames))

Arguments

data

data frame

renames

list defining renames in the form of "oldName" = "newName" pairs

columns

(new) names of columns to be selected