Description Usage Arguments Value Examples
View source: R/IterativeQuantilePlotting.R
Plotting 3-dimensional iterative quantile bins using faceting
1 | iqbin_plot_3d(iq_obj, round_digits = 2)
|
iq_obj |
iterative quantile object: either from iqbin or iqnn function with data and definition |
round_digits |
decimal places to round the data used in structure of plot |
create ggplot2 object with iq bins displayed
1 2 3 4 5 6 7 8 9 10 11 12 13 | iq_obj <- iqbin(data=iris, bin_cols=c("Sepal.Length","Sepal.Width","Petal.Width"),
nbins=c(2,5,3), output="both",jit=rep(0.1,3))
iqbin_plot_3d(iq_obj)
iq_obj <- iqnn(data=iris, y="Species", mod_type="class",
bin_cols=c("Sepal.Length","Sepal.Width","Petal.Width"),
nbins=c(2,5,3), jit=rep(0.001,3))
iqbin_plot_3d(iq_obj)
iq_obj <- iqnn(data=iris, y="Petal.Length", mod_type="reg",
bin_cols=c("Sepal.Length","Sepal.Width","Petal.Width"),
nbins=c(2,5,3), jit=rep(0.001,3))
iqbin_plot_3d(iq_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.