alluvial | R Documentation |
Alluvial Diagrams
alluvial(
data,
vars,
condensationvar,
excl = FALSE,
marg = FALSE,
fill = "first_variable",
bin = "default",
orient = "vert",
usetitle = FALSE,
mytitle = "Alluvial Plot"
)
data |
The data as a data frame. |
vars |
a string naming the variables from |
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. |
A results object containing:
results$todo | a html | ||||
results$plot | an image | ||||
results$plot2 | an image | ||||
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.