View source: R/misc_functions.R
theme_pubh | R Documentation |
A theme for huxtables This function quickly set a default style for a huxtable.
theme_pubh(ht, rw = 1)
ht |
A huxtable object. |
rw |
A numeric vector with the rows on which a bottom border is desired. |
theme_pubh
is a variation of theme_article
with the added flexibility
of adding a bottom border line at desired row numbers.
require(dplyr, quietly = TRUE)
data(Oncho)
Oncho |>
select(area, mf) |>
cross_tbl(by = "area") |>
theme_pubh(2)
data(Bernard)
t1 <- estat(~ apache | fate, data = Bernard)
t2 <- estat(~ o2del | fate, data = Bernard)
rbind(t1, t2) |>
as_hux() |>
theme_pubh(c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.