-
Notifications
You must be signed in to change notification settings - Fork 1
Description
As discussed today on Zoom, I agree wrapping ggplot2 into a custom function may be unnecessary as ggplot2 is already an optimum on the flexibility/usability point of view.
However, there are other, lighter touch, ways to offer a tighter integration with ggplot2 and reduce the need for custom data wrangling for the user while keeping ggplot2 flexibility.
These two blog posts do a nice job at explaining the different options you may want to explore (custom geom, fortify method, etc.):
https://mitchelloharawild.com/blog/ggplot2-package-design/
https://www.cynthiahqy.com/posts/ggplot-helper-design
I'm happy to discuss more about this. Note that a satisfactory resolution of this issue may also be to simply continue with the current approach after reading the linked blog posts and considering your options.