add convertNumericToFactor() function to categorize real value into categories with respect to each ranges; delete unused functions