powered by
Plot an alluvial plot between clusterings
plotAlluvial(listMemberships, plotOptions = list())
display the alluvial plot, returns the plotOptions as a list
: a list vectors containing the memberships
: a list containing the options for Alluvial plots
The list of parameters plotOptions provides the following options
plotOptions
"curvy" numeric, controls the curvature of the alluvial. Default value = 0.3
"alpha numeric, vector of transparency of the stripes. Default value = 0.8
"gap.width" numeric, relative width of inter-category gaps. Default value = 0.1
"col" vector of colors of the stripes. Default value = "darkolivegreen3"
"border" vector of border colors for the stripes. Default is white
listMemberships <- list(C1 = rep(c('A','B','C'),each=10),C2 = rep(c(1,2,4),10)) plotAlluvial(listMemberships)
Run the code above in your browser using DataLab