ggplot2 (version 1.0.0)

cut_number: Cut numeric vector into intervals containing equal number of points.

Description

Cut numeric vector into intervals containing equal number of points.

Usage

cut_number(x, n = NULL, ...)

Arguments

x
numeric vector
n
number of intervals to create
...
other arguments passed on to cut

See Also

cut_interval

Examples

Run this code
table(cut_number(runif(1000), n = 10))

Run the code above in your browser using DataCamp Workspace