powered by
get_x_list is for getting intersect names of x_list, train and test.
get_x_list
get_x_list( dat_train = NULL, dat_test = NULL, x_list = NULL, ex_cols = NULL, note = FALSE )
A data.frame with independent variables.
Another data.frame.
Names of independent variables.
A list of excluded variables. Regular expressions can also be used to match variable names. Default is NULL.
Logical. Outputs info. Default is TRUE.
A list contains names of variables
get_names
# NOT RUN { x_list = get_x_list(x_list = NULL,dat_train = UCICreditCard, ex_cols = c("default.payment.next.month","ID$|_date$")) # }
Run the code above in your browser using DataLab