How to add value labels on the flows item of a Alluvial/Sankey plot (on R ggalluvial)?
问题 I'm looking to label the "flow" portion of Alluvial / Sankey chart on R. The stratums (columns) can easily be labelled, but not the flows connecting them. All my attempts on reading the documentations and experimenting were to no avail. In the sample below, "freq" is expected to be labelled on the flow connection part. library(ggplot2) library(ggalluvial) data(vaccinations) levels(vaccinations$response) <- rev(levels(vaccinations$response)) ggplot(vaccinations, aes(x = survey, stratum =