Closed corybrunson closed 5 years ago
I am wondering if ggalluvial can remain the natural order of the rows within strata.
I have tried aes.bind = TRUE
, but the result was not what I expected.
Since the order of my dataset is meaningful, is it possible to plot without intersecting the strata at lodes?
You can control the order of lodes within strata by passing to the lode.ordering
parameter in stat_alluvium()
, as illustrated in the stat_alluvium()
documentation. Is that what you're after? I'll definitely include an example of this option in the vignette.
Could you explain further what you mean by "without intersecting the strata at lodes"? The strata don't actually intersect, rather the alluvia intersect the strata at the lodes, and this is necessary if the diagram includes both alluvia and strata.
A lot of functionality goes into this determination, and most of it in most use cases is obscured from the user. See the exposition in this SO answer.