generateNumCutLabels: Generate Labels for the cut function

View source: R/cut.R

generateNumCutLabelsR 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 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()

Value

A character vector of labels


crunch documentation built on Aug. 31, 2023, 1:07 a.m.