Alluvial Diagrams
alluvial.RdAlluvial Diagrams
Usage
alluvial(
  data,
  vars,
  condensationvar,
  excl = FALSE,
  marg = FALSE,
  fill = "first_variable",
  bin = "default",
  orient = "vert",
  usetitle = FALSE,
  mytitle = "Alluvial Plot",
  maxvars = 8,
  custombinlabels = ""
)Arguments
- data
- The data as a data frame. 
- vars
- a string naming the variables from - datathat contains the values used for the Alluvial Diagram.
- condensationvar
- The primary variable to be used for condensation. 
- excl
- Exclude missing values from the analysis. 
- marg
- Include marginal plots. 
- fill
- A list for the argument fill for selecting the variable to be represented by color. Default is 'first_variable'. 
- bin
- labels for the bins from low to high 
- orient
- Orientation of the plot. Default is 'vertical'. 
- usetitle
- Use a custom title for the plot. 
- mytitle
- Title for the plot. 
- maxvars
- Maximum number of variables to include in the alluvial plot. 
- custombinlabels
- Custom labels for bins, separated by commas (e.g., "Low,Medium,High"). Leave empty to use bin option defaults.