Untitled

knitr::opts_chunk$set(echo = TRUE)
library(huxtable)
library(dplyr)
hux(a = 1:5, b = 1:5) %>% 
  set_background_color(1:2, 1, "red") %>% 
  set_text_color(2:3, 1:2, "green")


Try the huxtable package in your browser

Any scripts or data that you put into this service are public.

huxtable documentation built on May 29, 2024, 3:59 a.m.