renameif: renameif

Description Usage Arguments Details See Also

View source: R/renameif.R

Description

Renames a column if already exists otherwise doesn't do a thing

Usage

1
renameif(x, old, new)

Arguments

x

table

old

string; old name

new

string; new name@name

Details

Renames a column on the condition that it exists

Does not take mu Made with pipes in mind.

See Also


decisionpatterns/data.table.plus documentation built on June 15, 2020, 10:26 p.m.