plotAlluvial function

Plot an alluvial plot between clusterings

Plot an alluvial plot between clusterings

plotAlluvial(listMemberships, plotOptions = list())

Arguments

  • listMemberships: : a list vectors containing the memberships
  • plotOptions: : a list containing the options for Alluvial plots

Returns

display the alluvial plot, returns the plotOptions as a list

Details

The list of parameters plotOptions provides the following options

  • "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

Examples

listMemberships <- list(C1 = rep(c('A','B','C'),each=10),C2 = rep(c(1,2,4),10)) plotAlluvial(listMemberships)
  • Maintainer: Julien Chiquet
  • License: GPL (>= 3)
  • Last published: 2024-09-16