CheckInputs: (helper function) Check user inputs and convert factors to characters. Provide readable reasons if errors are found.
Description
CheckInputs
Checks user inputs and converts factors to characters. Returns the altered dataframes as a list.
Provides readable reasons if errors are found.
Usage
CheckInputs(train, valid, trt, y)
Arguments
valid
validation dataset (default is NULL)