A convenience function to generate labels for the cut function. This
function is extracted from base::cut()
and is broken out to make it easier
to test. It is not meant to be called on its own.
generateCutLabels(dig.lab, breaks, nb, right, include.lowest)
see cut()
see cut()
The number of breaks, equal to the small of 2 or the number of breaks
see cut()
seecut()
A character vector of labels