daattali/ggExtra

Add support for dotplots

オープン

#29 opened on 2016/08/07

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)R (47 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (393 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

There was a blog post showing how to do many Tufte-style plots in R. The author included ggMarginal but noted that it cannot be used to make dotplots eg

I suppose it could be a nice extra feature to support those kind of plots as well, even though they're very very similar to histograms. I looked into it very briefly and unfortunately the ggplot2::geom_dotplot() doesn't seem to work because when there are many observations the dots go off the screen. There might be a way to somehow dynamically decide how big to make the dots. There can also be other solutions (perhaps useful resource: http://lenkiefer.com/2016/04/06/dot-plots-and-distributions)

If anybody wants to tackle this, feel free to make a PR!

コントリビューターガイド