标签: r knitr rstudio r-markdown
所以我想出了如何在RMarkDown文件中的表格上添加标题和数字:
kable(head(iris),format='pandoc',caption='hello')
现在,当我在乳胶中渲染时,我得到了我想要的输出,但是无论如何都有方法抛出一个\ label,以便我可以使用\ ref {table}或者某种标记对它进行内联引用做到了吗?