Description Usage Arguments Examples
Emboldens rows matching an expression, with optionally selected columns. For
use with knitr::kable().
| 1 | knitr_bold_row(x, ..., cols = NULL, format = c("markdown", "html", "latex"))
 | 
| x | A data frame | 
| ... | The filter expressions | 
| cols | Columns that should be emphasized, default  | 
| format | One of  | 
| 1 2 3 4 5 6 7 8 | x <- dplyr::starwars[1:4, 1:5]
knitr_bold_row(x, height < 100)
knitr_bold_row(x, mass <= 75, height <= 170, cols = c("name", "height"), format = "html")
x %>%
  knitr_bold_row(height > 170, cols = "hair_color") %>%
  knitr::kable()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.