-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Dear Cory,
Suppose I have the x-axis as two years, say 1991, and 1992,
and I have two strata at each year, so totally four strata.
Let's call the two strata at year 1991, "1991_1", and "1991_2", and the two strata at 1992, "1992_1", "1992_2".
And suppose there are only two flows in between the two years, say from 1991_1 => 1992_1, and from 1991_1 => 1992_2.
How to assign the stratum height of "1991_1", "1991_2", "1992_1", and "1992_2" as 40,30,50,45
and the flow size from 1991_1 => 1992_1, and 1991_1 => 1992_2 as 40, 50, respectively?
Although this setting seems quite trivial, but I found it difficult for me to plot it from using ggalluvial.
I feel the height of stratum seems to be pre-determined by the sum of the flows at each stratum. Is there a way that I can assign it differently other than the sum of the flows at it?
Can you help on plotting this rather simple example? Tks.
With warm regards,
Peter