will add density histograms and frequency plots of original data to alluvial plot
add_marginal_histograms(
p,
data_input,
top = TRUE,
keep_labels = FALSE,
plot = TRUE,
...
)
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
logical if plot should be drawn or not
additional arguments for model response alluvial plot concerning the response variable
display training prediction, not necessary if pred_train has already been passed to alluvial_model_response()
int, y-axis distance between the ridge plots, Default: 400
character vector, specify response variable in data_input, if not set response variable will try to be inferred, Default: NULL
gtable
if (FALSE) {
p = alluvial_wide(mtcars2, max_variables = 3)
p_grid = add_marginal_histograms(p, mtcars2)
}