Description Usage Arguments Value Examples
New observations selected from the same population as the data used to build bin definitions may fall just outside the bins. If we wish to include nearby values we can either allow outer bins to be extended (this function) or to leave the outer bins unbounded.
1 | stretch_iq_bins(iq_def, tol)
|
iq_def |
iterative quantile binning definition list |
tol |
vector of tolerance values to stretch each dimension for future binning |
updated binning definition with bins extended by tolerance values
1 2 3 4 5 | iq_def <- iterative_quant_bin(data=iris, bin_cols=c("Sepal.Length","Sepal.Width","Petal.Width"),
nbins=c(3,2,2), output="both")
stretch_iq_def <- stretch_iq_bins(iq_def, tol = c(1,1,1))
iq_def$bin_def$bin_bounds
stretch_iq_def$bin_def$bin_bounds
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.