nanxstats / ggsci

🦄 Scientific journal and sci-fi themed color palettes for ggplot2
https://nanx.me/ggsci/
GNU General Public License v3.0
661 stars 71 forks source link

Added some use case in the readme #13

Closed DanChaltiel closed 1 year ago

DanChaltiel commented 2 years ago

Here is a proposal for use cases in the documentation.

This is in line with https://github.com/nanxstats/ggsci/issues/12

I never use base plots so you might be able to come with a better syntax (I thought it was nice to show it too).

I edited this directly on GitHub so I did not knit the Rmd to md.

I used eval=FALSE but you might choose otherwise.

As it seems that you are not using GitHub actions to generate pkgdown (you should give it a try, it is very nice!), you might also need to re-run your workflow manually.

Thanks again for your package!