Cut uses the base function cut to divides the range of the values of a Raster* object into intervals and codes the values in x according to which interval they fall. The leftmost interval corresponds to level one, the next leftmost to level two and so on.