How do i format output from gtsummary to 2 decimal places ? I will be glad if i could get help on similar alternative packages i could use to create publication redy tables
Have a look here gtsummary: controlling the number decimal places for each variable
I would also recommend tinytable unless you need something really fancy.
If you need help with a specific dataset can you post some sample data here please?
A handy way to supply data is to use the dput() function. Do dput(mydata) where "mydata" is the name of your dataset. For really large datasets probably dput(head(mydata, 100)) will do. Paste the output between
```
```