Description Usage Arguments Value Examples
From provided bin features, create multidimensional bin definition
1 2 |
data |
data used to define bins |
bin_features |
The features to bin on. Must be two! |
nbins |
The number of bins to use |
bin_type |
The type of bin to use |
nd standard binning definition
1 2 3 | bin_nd(data=iris, bin_features=c("Petal.Length","Petal.Width","Sepal.Width"), nbins=c(2,3,4), bin_type="quantile", output="bin_data")
bin_nd_def <- bin_nd(iris, c("Petal.Length","Petal.Width","Sepal.Width"),nbins=c(2,3,4), bin_type="standard", output="definition")
bin_nd(iris, c("Petal.Length","Petal.Width","Sepal.Width"), c(2,3,4), bin_type="standard", output="both")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.