5.27.2014

Convert Numeric to Factor

    Function : cut - Convert Numeric to Factor
      Description :
      cut divides the range of x into intervals.

      Usage :
      cut( x, breaks, ... )
        x : a numeric vector which is to be converted to a factor by cutting.
        breaks : either a numeric vector of two or more cut points or a single number (greater than or equal to 2) giving the number of intervals into which x is to be cut.