get_x_list {creditmodel} | R Documentation |
Get X List.
Description
get_x_list
is for getting intersect names of x_list, train and test.
Usage
get_x_list(
dat_train = NULL,
dat_test = NULL,
x_list = NULL,
ex_cols = NULL,
note = FALSE
)
Arguments
dat_train |
A data.frame with independent variables. |
dat_test |
Another data.frame. |
x_list |
Names of independent variables. |
ex_cols |
A list of excluded variables. Regular expressions can also be used to match variable names. Default is NULL. |
note |
Logical. Outputs info. Default is TRUE. |
Value
A list contains names of variables
See Also
Examples
x_list = get_x_list(x_list = NULL,dat_train = UCICreditCard,
ex_cols = c("default.payment.next.month","ID$|_date$"))
[Package creditmodel version 1.3.1 Index]