r-markdown - 如何解决 kable 在 r markdown 中生成的表格脚注中的空白?
问题描述
正如你可以从下面的图片中看到的。note
和上下文 之间存在差距。
我使用的代码如下。有什么想法可以消除差距吗?
kable(summarize(df.sum, group = "Experiment", test = T, digits = 1, show.NAs = F),
row.names = F, caption = 'Summary Statistics for Treated and Control Groups',
booktabs = T) %>% kable_styling(latex_options = c('striped', 'hold_position')) %>%
footnote(general = 'DM8OZ indicates the daily max 8-hour ozone concentration;
Daily_PM2.5 is the daily average of PM2.5; Tavg is the daily average temperature;
Prcp is the daily accumulated precipitation. The last column in the table represents the testing results of null
hypotheses that the treated and control groups are not statistically different. ',
footnote_as_chunk = T, threeparttable = T, fixed_small_size = T)
解决方案
推荐阅读
- oracle - 将 Cognos 特定行转换为 oracle sql
- c# - C# switch 表达式不正确的可空性
- docker - 如果采用 8888,则配置 Docker 以动态选择第一个可用的 Jupyter 端口
- python-3.x - 我尝试将图像大小调整一半有什么问题?
- python - 如何将 WSGI 中的首选编码设置为 UTF-8
- javascript - 如何使用 ImageData 在画布上直接绘制垂直线?
- java - 覆盖的方法不会转换
- javascript - 如何循环遍历 json 的数组项并使用某些 json 对象发出异步 API 请求
- matlab - 如何计算在 .mat 文件中找到的相同字符(MATLAB)
- python - Python - 删除基于行的特定值