cut_by function

Convert Numeric to Factor