Description Usage Arguments Details Note Author(s) Examples
Function to plot an alluvial plot.
1 |
... |
vectors or data frames, all for the same number of observations |
freq |
numeric, vector of frequencies of the same length as the number of observations |
col |
vector of colors of the stripes |
border |
vector of border colors for the stripes |
layer |
numeric, order of drawing of the stripes |
hide |
logical, should particular stripe be plotted |
alpha |
numeric, vector of transparency of the stripes |
gap.width |
numeric, relative width of inter-category gaps |
xw |
numeric, the distance from the set axis to the control points of the xspline |
cw |
numeric, width of the category axis |
las |
See |
srt |
See |
blocks |
logical, whether to use blocks to tie the flows together at each category, versus contiguous ribbons (also admits character value "bookends") |
pct |
logical, whether category labels should be accompanied by relative frequencies. |
sep |
If |
xlabels |
Either NULL or a character vector with length equal to the number of columns in the |
This function plots an alluvial plot, which is a variant of a parallel coordinates plot for qualitative data.
This function imports col2rgb
and rgb
from the grDevices
package, and plot
, xspline
, axis
, rect
, polygon
, text
and par
from the graphics
package.
Michal Bojanowski and Aaron Rendahl
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.