python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
add gt table image to word doc with shiny and officer package
I am writing a shiny app which:
creates a gt table
saves the gt table as an image (temporary file)
passes that image into a word doc using {officer} package
I am having difficulty with the image cre...
mdb_ftl
Votes: 0
Answers: 1
Set background colors for the cells of multiple columns based on string contents using gt package
Given a small dataset as follows:
library(gt)
library(tidyverse)
id <- c(1,2,3,4,5)
res1 <- c("true", "true", "false", "true", "false")
res2 &l...

ah bon
Votes: 0
Answers: 1
Can you color an adjacent cell in gt table in r?
a1 and b1 are colored based on their values. I would like a2 to be the same color as a1 and b2 the same color as b1. Is this possible?
library(dplyr)
library(gt)
library(viridis)
set.seed(123)
df &l...
seansteele
Votes: 0
Answers: 1
Formatting gtsummary tables with checkbox questions
I have been enjoying the gtsummary library quite a bit but I can't find a clean way to display checkbox style questions (select all that apply) gtsummary::tbl_summary. Here is an example:
example_df =...

svenhalvorson
Votes: 0
Answers: 1