cut_number {ggplot2} | R Documentation |
Cut numeric vector into intervals containing equal number of points.
cut_number(x, n = NULL, ...)
x |
numeric vector |
n |
number of intervals to create, OR |
... |
length of each interval |
|
other arguments passed on to cut |
Hadley Wickham <h.wickham@gmail.com>
table(cut_number(runif(1000), n = 10))