renameOneCol: Rename one column to another column's name.

Description Usage Arguments Value Author(s)

Description

This function is needed when there is an obvious colname error/mispell with some observations. This observation does not have a variable name like most other observations, but has an abnormal one that can be confirmed to be the same as another variable.

Usage

1

Arguments

df

a data.frame

old

a character vector of old name

new

a character vector of new name

Value

a data.frame

Author(s)

Siyu Sun


sunsiyu/featurer documentation built on May 30, 2019, 8:39 p.m.