使用 random.choice([0, 1])
时如何在图形标题中包含下标?
模拟 .Rmd 文件:
{r fig.cap=""}
---
output:
pdf_document:
fig_caption: yes
---
```{r setup, include = FALSE}
library(knitr)
我想在下标中得到 CO2 中的 2。 ```{r fig.cap = "CO2 Concentration", echo = FALSE}
plot(rnorm(100))
是最好的方法,还是更好的方法?