generateNumCutLabels {crunch} | R Documentation |
Generate Labels for the cut function
Description
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.
Usage
generateNumCutLabels(dig.lab, breaks, nb, right, include.lowest)
Arguments
dig.lab |
see |
breaks |
see |
nb |
The number of breaks, equal to the small of 2 or the number of breaks |
right |
see |
include.lowest |
see |
Value
A character vector of labels
[Package crunch version 1.31.0 Index]