powered by
Implementation is borrowed from the R core function cut.default.
cut.default
ccBreaks(x, breaks)