R/alluvial_fill_discrete.R
alluvial_fill_discrete.Rd
Enables the use of a highlight variable in plot_long_alluvial
to enable easier reading of a standard Alluvial plot.
alluvial_fill_discrete( ..., h = c(0, 360) + 15, c = 100, l = 65, h.start = 0, direction = 1, na.value = "grey50", aesthetics = "fill", focus = 1 )
... | Standard options to be passed on depending on scale type and |
---|---|
focus | The index of the factor that should be made lighter |
Modifies output of the standard discrete_scale
palette so levels that are not defined by focus
are made comparatively lighter.