You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using ggupset for datasets where each datapoint has a weight, but when you set the weight aesthetic in geom_bar, the order generated by scale_x_upset(order_by = "freq") is still the order of the unweighted data. It would be nice to have the option of sorting by weighted total.
Thanks for the great package!
The text was updated successfully, but these errors were encountered:
That's interesting, I didn't even know that geom_bar() had a weightaesthetics. However, I currently don't have the bandwith to implement this myself. But I am happy to accept a PR.
You would probably have to start here and see if there is an easy way to check if the weight aesthetics has been set.
I've been using ggupset for datasets where each datapoint has a weight, but when you set the
weight
aesthetic ingeom_bar
, the order generated byscale_x_upset(order_by = "freq")
is still the order of the unweighted data. It would be nice to have the option of sorting by weighted total.Thanks for the great package!
The text was updated successfully, but these errors were encountered: