renameCol: Renames column in data frame

View source: R/watanabe-df-manipulation.R

renameColR Documentation

Renames column in data frame

Description

Wrapper function to make column renaming easier.

Usage

renameCol(df, oldName = "", newName = "")

Arguments

df

A dataframe.

oldName

The name of the column to be renamed.

newName

The new name for the column.

Value

The dataframe with the column renamed.


awatanabe/appr documentation built on Sept. 26, 2022, 8:04 a.m.