Closed Averysaurus closed 2 years ago
Thanks @Averysaurus! I like this. Personally, I started with gridExtra, then moved to cowplot, and now I use patchwork. This might be useful for your comparison as well: https://cran.r-project.org/web/packages/patchwork/vignettes/patchwork.html
My view here is that we should pick one and stick with it, instead of providing options. From a workshop standpoint, the fact that there are many ways to do the task means that the coverage for any one will be limited.
As of this comment, cowplot has double the downloads per month. That is not a reason to not try patchwork or gridExtra, just a thought about where the workshop should go.
I am fine sticking with cowplot
for now. patchwork
is definitely an exciting new package, but I think we can wait for it to develop a little more before replace cowplot
with it. Right now, we reference the other packages, which should be fine.
gridExtra()
is library that does similar stuff ascowplot()
. From the vignette introducitons, it seems likegridExtra()
is more expandable , there is more flexibility around how plots can be arranged. Both libraries have github repos, and it looks likecowplot()
has been more actively maintained in recent times. See links below for more info:cowplot()
cowplot vignettte cowplot repogridExtra()
gridExtra vignette gridExtra repo