crunch (version 1.30.4)

generateNumCutLabels: 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)

Value

A character vector of labels

Arguments

dig.lab

see cut()

breaks

see cut()

nb

The number of breaks, equal to the small of 2 or the number of breaks

right

see cut()

include.lowest

seecut()