Home > other >  How to change the column names in gt?
How to change the column names in gt?

Time:10-26

How can I add bracklets () in column names using the gt package in R? column name in r = grp35_rs12468485. What I want: grp35(rs12468485)

I already created a table with the gt package:

table1_pgx <- 
    pgx_rs %>% 
    gt() %>%
  tab_header(
    title = md("pgx")

Thanks!

CodePudding user response:

The solution can be find on: enter image description here

  •  Tags:  
  • r gt
  • Related