plot_hist: plot histogram of alluvial plot variable
Description
helper function used by add_marginal_histograms
Usage
plot_hist(var, p, data_input, ...)
Arguments
var
character vector, variable name
data_input
datafram used to create alluvial plot
...
additional arguments for specific alluvial plot types: pred_train
can be used to pass training predictions for model response alluvials