Description Usage Arguments Value
Split a data frame into a prespecified number of bins, using
split
and cut
. Unlike the default R functions, this does not
fail when asked to split the data into a single bin.
1 | smart.split(dat, bins)
|
dat |
Data frame or data table to be split |
bins |
Number of bins to split data into |
List with bins
elements. Each element corresponds to one portion
of the data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.