Description Usage Arguments Examples
reduce_egrid
makes a grid with equal width bins,
reduce_qgrid
makes a grid with bins containing equal
numbers of points, reduce_extremes
captures just the
minimum and maximum of each variable. Categorical variables
are always preserved.
1 2 3 4 5 | reduce_egrid(data, bins = 5, breaks = list(), n_max = 1e+05)
reduce_qgrid(data, bins = 5, breaks = list(), n_max = 1e+05)
reduce_extremes(data, breaks = list(), n_max = 1e+05)
|
data |
input data |
bin |
number of bins for each variable |
breaks |
a named list. Use this to supply custom breaks for individual variables |
n_max |
Maximum number of rows to create (used to product against accidentally creating excessively large outputs). |
1 2 3 | reduce_egrid(diamonds[1:3], bins = 4)
reduce_qgrid(diamonds[1:3], bins = 4)
reduce_extremes(diamonds[1:3])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.