Hey #rstats! I'm excited to announce that my first package, the #ggplot extension ggh4x is now available on #CRAN 📢! cran.r-project.org/web/packages/g…. Thanks to everyone putting package development tutorials out there and the ggplot2 team for the extension mechanisms! 🧵
The package is mostly a collection of convenience functions I've accumulated over time, so it might be a bit chaotic. Hopefully it can be convenient to you too! Examples below:
Get rid of duplicated strip labels in multi-layered facets with `facet_nested()`:
Change the absolute or relative sizes of panels to your liking
Simple but effective coloured string legends
Aspect ratio aware base-R `type = "b"` style points/path hybrid
Text rotated towards a point in the plot, convenient for labelling in polar coordinates
Provide a 'hclust' object to dendrogram scales, with help from the ggdendro package.
Discrete axis with group membership indicators
Tick marks for minor breaks and log scales
Fitting theoretical distributions with fitdistrplus with similar ease as `stat_density()`
Very much related to rolling means: rolling kernels to indicate trends
Control over the position scale of individual panels
Want to see more examples or the code to generate the plots above? Check out the vignette article section at: teunbrand.github.io/ggh4x/index.ht…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Teun van den Brand

Teun van den Brand Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!