View source: R/plot_marginal_hist.R
add_marginal_histograms | R Documentation |
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,
...
)
p |
alluvial plot |
data_input |
dataframe, input data that was used to create dataframe |
top |
logical, position of histograms, if FALSE adds them at the bottom, Default: TRUE |
keep_labels |
logical, keep title and caption, Default: FALSE |
plot |
logical if plot should be drawn or not |
... |
additional arguments for model response alluvial plot concerning the response variable
|
gtable
arrangeGrob
## Not run:
p = alluvial_wide(mtcars2, max_variables = 3)
p_grid = add_marginal_histograms(p, mtcars2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.