exponential_cut: Cut with exponential breaks

View source: R/utils.R

exponential_cutR Documentation

Cut with exponential breaks

Description

Wrapper to cut for positive integers.

Usage

exponential_cut(x)

Arguments

x

A vector of positive integers.

Value

A factor.

Note

The breaks are 1, 2, 3 to 4, 5 to 8, etc. No input checking is done; use at your peril.

See Also

cut

Examples

## Not run: 
exponential_cut(c(1:10, 500))

## End(Not run)

sig documentation built on April 21, 2022, 5:07 p.m.