knitr::opts_chunk$set(echo = TRUE)
library(huxtable)

A data frame with huxtable

head(mtcars)

Adding more options

library(magrittr)
mtcars %>% 
  head() %>% 
  as_hux(add_colnames = TRUE) %>% 
  theme_plain() %>% 
  set_italic(everywhere, evens, TRUE) %>% 
  set_caption("Some Motor Car Data")

For more information see the website.



hughjonesd/huxtable documentation built on Feb. 17, 2024, 12:20 a.m.