cut_interval {ggplot2} | R Documentation |
Cut numeric vector into intervals of equal length.
cut_interval(x, n = NULL, length = NULL, ...)
x |
numeric vector |
n |
number of intervals to create, OR |
length |
length of each interval |
... |
other arguments passed on to
|
table(cut_interval(1:100, n = 10)) table(cut_interval(1:100, n = 11)) table(cut_interval(1:100, length = 10))