powered by
will create gtable with density histograms and frequency plots of all variables of a given alluvial plot.
plot_all_hists(p, data_input, top = TRUE, keep_labels = FALSE, ...)
gtable
alluvial plot
dataframe, input data that was used to create dataframe
logical, position of histograms, if FALSE adds them at the bottom, Default: TRUE
logical, keep title and caption, Default: FALSE
additional arguments for specific alluvial plot types: pred_train can be used to pass training predictions for model response alluvials
arrangeGrob
add_marginal_histograms
if (FALSE) { p = alluvial_wide(mtcars2, max_variables = 3) plot_all_hists(p, mtcars2) }
Run the code above in your browser using DataLab