Changing () to [] for confidence interval in gtsummary table

Viewed 23

I am making my demographics table using gtsummary. I want the confidence interval in my table to appear between [] not (). For example 9.0 (8.0, 13.0) to 9.0 [8.0, 13.0]

I appreciate your help

library(gtsummary) tbl_summary(data, by=severe_aki, missing='no')

1 Answers

Sorry I made a mistake I want the IQR to appear between []

Here is an example.

library(gtsummary)
data=colon
tbl_summary(data=colon, by=rx, missing='no')

enter image description here

for.example nodes 2.0 (1.0, 5.0) to 2.0 [1.0, 5.0]

Related