Conditional formatting tables in RMarkdown documents

后端 未结 2 636
礼貌的吻别
礼貌的吻别 2021-02-04 16:49

As an example, I might want to use the following rule to color the cells:

(edited to un-trivialize)

  1. Blue if > 4
  2. No fill if <= 4 and >= 3.5
2条回答
  •  别那么骄傲
    2021-02-04 17:02

    knitr contain vignette with jQuery DataTables example.

    vignette("datatables", package = "knitr")
    

提交回复
热议问题