Description Usage Arguments See Also Examples
Label bins generated by find.bins()
1 | label.bins(x, bins, greedy = TRUE)
|
x |
data to be binned |
greedy |
(default TRUE) whether to include in labels values of x which
may not appear in the data. e.g. instead of |
bin |
binned data |
find.bins
for determining bin breakpoints
bin.ints
for generating a factor with labels
1 2 3 4 | x <- rpois(100, 10)
bins <- find.bins(x)
x.bin <- findInterval(x, bins)
bin.labels <- label.bins(x, x.bin)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.