Automated ggplot2 example gallery in knitr

前端 未结 1 662
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-09 05:35

I\'m trying to produce a gallery of ggplot2 geoms using knitr. In order to do this quickly I thought to use the built-in examples to p

相关标签:
1条回答
  • 2020-12-09 06:08

    See 021-ggplot2-geoms.Rnw for the full code. The basic idea is to construct the code chunks before knit them. The code is short, so probably I do not need to explain it too much.

    In theory you should be able to get something like this (more than 200 pages of ggplot2 examples):

    ggplot2 geoms generated by knitr

    0 讨论(0)
提交回复
热议问题