makeClasses function

Convert numeric variables to class intervals (factor)