[英]Knitr/Kable: Html Table Width
我有一張 html 表,上面有一堆列。 我想盡可能地擴展表格以適應這些列。 我的 output 和代碼如下。 如您所見,表格之間有少量空白。 我想使用這樣的空間。
d %>% kable( align = c( 'l', rep( 'c', 23 )), escape = F, full_width = F ) %>% kable_styling(bootstrap_options = c("striped", 'condensed' ), font_size = 10 )
嘗試將full_width選項設置為full_width = T
full_width
full_width = T
[英]R knitr - kable table html formatting for small text
[英]knitr kable and “*”
[英]Save knitr::kable() output to html file R
[英]r knitr kable padding not working with format = “html”
[英]Transforming coefficient table in R for knitr::kable() display
[英]Linked text in LaTeX table with knitr/kable
[英]knitr::kable is adding an empty column at the beginning of the table
[英]Flexible Column names in knitr::kable table
[英]Knitr Kable Table not producing captions in R markdown
[英]centering the table generated by kable function of knitr package
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.