rename_col: Rename single column by name

Description Usage Arguments Value

View source: R/rename_col.R

Description

Change name of a single column in a dataframe by old name instead of position.

Usage

1
rename_col(data, old_name, new_name)

Arguments

data

Dataframe.

old_name

Name of column to rename (Character).

new_name

Desired name of column (Character).

Value

Dataframe with modified name of specified column.


LudvigOlsen/LRO.utilities documentation built on May 27, 2018, 4:21 p.m.