Skip to content

Add support for weighted quantiles in geom_violin() #6853

Open
hughjonesd wants to merge 1 commit intotidyverse:mainfrom
hughjonesd:main
Open

Add support for weighted quantiles in geom_violin() #6853
hughjonesd wants to merge 1 commit intotidyverse:mainfrom
hughjonesd:main

Conversation

@hughjonesd
Copy link
Copy Markdown

This very small change adds support for weighted quantiles in geom_violin() via stat_ydensity(), using Hmisc::wtd.quantile().

It scratches an itch I've experienced myself, working with weighted data in ggplot2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant