What is the R command to write the caption of the figure using R language so that the caption of the figure can be given below the plot.
Asked
Active
Viewed 95 times
1 Answers
2
in Rmarkdown:
```{r my_fig_with_caption, fig.cap=fn('My Figure')}
plot(rnorm(100)
```
see: http://www.rstudio.com/ide/docs/authoring/using_markdown.

ScubaSteve
- 21
- 3