I was wondering if anyone knows how to align a ggtexttable column to the right?
This is a brief example:
library(ggpubr)
df <- data.frame(Order = c(1:3),
Name = c("Adam", "Ben", "Charlie"),
Score = c(-.0041, 8.00, 9.123))
stable.p <- ggtexttable(df, rows = NULL, theme = ttheme("default"))
ggarrange(stable.p, ncol = 1, nrow = 1, heights = c(1, 1))
The second column with the negative sign and the decimals just looks bad, I would like to justify that second column to the right, thanks in advance.