Advertisement · 728 × 90
#
Hashtag

#ggblanket

Advertisement · 728 × 90

Well, I didn't finish my big and breaking #ggblanket update before xmas as hoped :/ The project got kind of massive, as v4 of ggplot2, LLMs and new ideas/experience/skills changed how I thought everything should and could work. Merry christmas to all #ggplot2 #rstats

1 0 0 0

#ggblanket users: I'm going to break this package with a major version update at some point. Things have changed, and I've thought of a new way to acheive what I want. So please use renv etc for any projects using ggblanket. It's too messy & time-consuming for me to bother deprecating, sorry #rstats

3 0 0 0
Post image Post image Post image

I'm creating a bunch of flexible themes for a mega update of #ggblanket.. They're all the same, but different defaults for colours to make things easy. I've currently got a grey, beige, light, and dark one. Then I wondered about alternative grey/beige options with white gridlines. Thoughts? #rstats

9 1 1 0
Post image

I've developed a bunch of useful functions that I have as extras in #ggblanket. They're just #ggplot2 helpers really. I'm not sure if they should ideally be in a separate package? There's not heaps. I'm not sure if a new package might be hard to get on CRAN, and I'm low on energy for that #rstats

7 1 3 0
Preview
ggblanket/R/standardise_width.R at main · davidhodge931/ggblanket Simplify ggplot2 visualisation. Contribute to davidhodge931/ggblanket development by creating an account on GitHub.

Trying to create a function to help with standard widths for bars across #ggplot2 plots into #ggblanket. I got it to a point where it works with position of identity or stack. But it doesn't with position_dodge() or position_dodge2(). Can anyone help? PR please! #rstats github.com/davidhodge93...

0 0 1 0
Post image Post image

v12.4.0 of #ggblanket just pushed to CRAN. A couple of API tweaks (sorry!). New feature of bind_each_all, which I'm VERY happy with :) Enables easy plotting of Each category and an All value. You can use this function with #ggplot2 too. Give it a go! #rstats davidhodge931.github.io/ggblanket/re...

6 0 2 0
Post image

Got a new function in development #ggblanket called bind_all_by. It's designed to support plotting all data against group data. Like {gghighlight}, but different. You can use this function & method with normal #ggplot2 code too. Feedback welcome #rstats davidhodge931.github.io/ggblanket/re...

11 0 1 0
Post image

Another #ggblanket extra is the annotate_axis_line function. This is a hack that enables you to make your axis line sit behind any geom. Basically create the plot using a blank geom with gg_blanket, add the function which removes the axis and adds an hline in, and then add your geom in #rstats

10 0 1 1
Post image

A useful 'extra' in #ggblanket v12.3.0 is the `aes_contrast` function. It enables the colour of text or labels etc to be determined automatically for contrast based on the fill. This function is based on code developed by @teunbrand.bsky.social #rstats github.com/teunbrand/gg...

23 4 1 0
Post image Post image

Creating a coherent API is hard. For version 12.1.0, I _think_ I've got the last bit of the #ggblanket API sorted now. The `set_blanket` function is key to setup. The `weave_*` functions are run within `set_blanket`, while `set_*` functions are not #rstats #ggplot2 davidhodge931.github.io/ggblanket

3 1 1 0