re_name {creditmodel} | R Documentation |
Rename
Description
re_name
is for renaming variables.
Usage
re_name(dat, oldname = c(), newname = c())
Arguments
dat |
A data frame with vairables to rename. |
oldname |
Old names of vairables. |
newname |
New names of vairables. |
Value
data with new variable names.
Examples
dt = re_name(dat = UCICreditCard, "default.payment.next.month" , "target")
names(dt['target'])
[Package creditmodel version 1.3.1 Index]