renameCol function

Rename columns in a matrix or a dataframe.