gt table: lost formatting after merging cells


I made a table in gt where I merged the cells so that my Beta and p-values were in the same cell. The cells had been row names originally. I created two small tables, All cases and Medication-free cases and the used rbind to create one table. I wanted to bold the p-values <= 0.05. This works fine in one table at a time, but when I rbind the two tables, I lose the formatting.

Maybe I am not selecting correctly the columns. The rows of p-values are different for each table, but then again, they are in merged cells.

This is how the final table will look like - but would like the significant p-values in bold.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.