Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.