Implements sanity check for the input data. This function is for internal use and is called
by the dcem_train
.
validate_data(columns, numcols)
(string): A comma separated list of columns that needs to be removed from the dataset. Default: ''
(numeric): Number of columns in the dataset.
boolean: TRUE if the columns exists otherwise FALSE.
An example would be to check if the column to be removed exist
or not? trim_data
internally calls this function before removing
the column(s).
Using data to build a better EM: EM* for big data.
Hasan Kurban, Mark Jenne, Mehmet M. Dalkilic (2016) <https://doi.org/10.1007/s41060-017-0062-1>.