Description Usage Arguments Value Examples
View source: R/IterativeQuantilePlotting.R
used for binning the numeric values by empirical quantile
1 | iqbin_plot_2d(iq_obj)
|
iq_obj |
iterative quantile object: either from iqbin or iqnn function with data and definition |
create ggplot2 object with iq bins displayed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | iq_obj <- iqbin(data=iris, bin_cols=c("Sepal.Length","Sepal.Width"),
nbins=c(5,3), output="both",jit=rep(0.1,2))
iqbin_plot_2d(iq_obj)
iq_obj <- iqbin(data=iris, bin_cols=c("Sepal.Length","Sepal.Width"),
nbins=c(5,3), output="both")
iqbin_plot_2d(iq_obj)
iq_obj <- iqnn(data=iris, y="Species", mod_type="class",
bin_cols=c("Sepal.Length","Sepal.Width"),
nbins=c(5,3), jit=rep(0.001,2))
iqbin_plot_2d(iq_obj)
iq_obj <- iqnn(data=iris, y="Petal.Length", mod_type="reg",
bin_cols=c("Sepal.Length","Sepal.Width"),
nbins=c(5,3), jit=rep(0.001,2))
iqbin_plot_2d(iq_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.