gt_highlight_p <- function(x) {
out <- x %>%
gt::tab_style(
style = gt::cell_text(weight = "bold"),
locations = gt::cells_body(rows = `p.value` <= 0.05)
)
out
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.