Re: [R] Using rmarkdown with many plots created in a loop

2018-08-20 Thread Richard M. Heiberger
## Don, ## This is how I would approach the task of a set of coordinated plots. ## I would place individual plots inside a table. The rows would index the ## datasets and there would be one or more data or description columns ## in addition to the column containing the graphs. ## I use the micro

Re: [R] Using rmarkdown with many plots created in a loop

2018-08-20 Thread Thierry Onkelinx
Dear Don, Have a look at the knit_expand() function. Then you can create two Rmd files. One main file and one template file for the subsets. knit_expand() will find and replace anything between double curly brackets ("{{x}}" in the example below) with the value of the variable. The main file: --