preProcessData function

Preprocess a Dataset Using Specified Methods