Description Usage Arguments See Also Examples
Discretise continuous variable, equal interval length. Cut numeric vector into intervals of equal length.
1 | cut_interval(x, n, length, ...)
|
x |
numeric vector |
n |
number of intervals to create, OR |
length |
of each interval |
... |
other arguments passed on to |
1 2 3 | table(cut_interval(1:100, n = 10))
table(cut_interval(1:100, n = 11))
table(cut_interval(1:100, length = 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.