exponential_cut: Cut with exponential breaks

Description Usage Arguments Value Note See Also Examples

View source: R/utils.R

Description

Wrapper to cut for positive integers.

Usage

1

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

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

## End(Not run)

sig documentation built on May 29, 2017, 11:34 a.m.

Search within the sig package
Search all R packages, documentation and source code