cut_interval

0th

Percentile

Cut numeric vector into intervals of equal length.

Cut numeric vector into intervals of equal length.

Usage
cut_interval(x, n = NULL, length = NULL, ...)
Arguments
x
numeric vector
n
number of intervals to create, OR
length
length of each interval
...
other arguments passed on to cut
See Also

cut_number

Aliases
  • cut_interval
Examples
table(cut_interval(1:100, n = 10))
table(cut_interval(1:100, n = 11))
table(cut_interval(1:100, length = 10))
Documentation reproduced from package ggplot2, version 0.9.3.1, License: GPL-2

Community examples

Looks like there are no examples yet.