Len*_*enn 4 r reference pandoc r-markdown bookdown
是否有可能在我的 Rmd 文件中包含图表列表?现在我的 yaml 标头看起来像这样,但我不知道如何包含数字列表。似乎\figureslift不起作用。
---
title: ""
author: ""
output:
bookdown::html_document2:
#css: styles.css
fig_caption: yes
theme: flatly
toc: yes
toc_depth: 1
bibliography: lib.bib
link-citations: yes
figurelist: yes
---
Run Code Online (Sandbox Code Playgroud)
在正文文件中,我想到了类似的方法来生成一个数字列表。
{r figure1, fig.cap="Sine Plot", fig.align='center'}
x = seq(1,10, by = 0.1)
y = sin(x)
plot(x, y, main = "title")
Run Code Online (Sandbox Code Playgroud)
参见图@ref(fig:figure1)
\数字列表