I have two questions regarding the figure captions to be appearing in the centre of thefigure/plot.
- If I use fig.cap in the chunk parameters like this
`{r label1, fig.cap="Figure 1"}
This is very small in size and doesn't look so clear. How to increase this font size?
- When I used this below code in the Rmd text (not a chunk code), it works great, size and the centre position is okay, but how to make it conditional, how to put conditions for this line to be printed accordingly?