gt Questions

1

Solved

The gt package lets users easily format cells based on conditional statements about the rows. I'm looking for a way to format each cell based on the value in the cell. Here's what I mean. In the ta...
rgt
Etesian asked 17/9, 2020 at 19:25

1

Solved

I try to force a newline in a gt cell using R gt package. In gt documentation it is described as possible to do it for column labels using cols_label() # example gt_tbl %>% cols_label( col =...
Seyler asked 11/8, 2020 at 8:55

1

Solved

I'd like to right align the rowname_col but it doesn't look like you can apply cols_align to rownames? tibble( one = c("Long names", "Other Name", "Name | Name"), two = 1:3 ) %>% gt(rowname_c...
rgt
Towhaired asked 18/5, 2020 at 22:22

© 2022 - 2024 — McMap. All rights reserved.