小编Cad*_*fly的帖子

knitr :: kable()中的短标题

如何创建一个简短的标题kable

library(dplyr)
library(knitr)
library(kableExtra)

df <- data.frame( X = sample(letters, 10), y = runif(10), z = sample(10:20, 10))

kable(df,
      booktabs = TRUE,
      caption = "This caption is way too long and doesnt look good when formatted in the Table of Contents.  What you really need here is a much shorter caption so that your eyes dont go crazy trying to figure out what information the author is trying to convey.  Often there is too much information in the …
Run Code Online (Sandbox Code Playgroud)

r knitr kable

21
推荐指数
1
解决办法
733
查看次数

标签 统计

kable ×1

knitr ×1

r ×1