Good day
I installed and loaded the sjPlot package to allow me to do some cross tabulations. I made the attached cross tabulation but would like to have the row and column percentages (blue and green fonts) show as separate columns and not as rows. Grateful for the correct syntax if possible. Thanks.
install.packages('sjPlot')
library(sjPlot)
tab_xtab(var.row = mydata$age, var.col = mydata$gender, title = "Table Title", show.col.prc = TRUE, show.row.prc= TRUE, remove.spaces = TRUE)