plot_hist: plot histogram of alluvial plot variable

View source: R/plot_marginal_hist.R

plot_histR Documentation

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

p

alluvial plot

data_input

dataframe 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

Value

ggplot object


erblast/easyalluvial documentation built on Dec. 11, 2023, 7:28 p.m.