R crosstab with thousands delimiter

Hi all,

Sorry about that. I'm a former SAS and Stata user, and have no experience with R. The reprex doesn't work with my version of R.

Goal: My goal is to create a table like this that has commas for thousands delimiters. This example doesn't have that.

table

Problem: I'm using sjplot (to create the above plot), and I have also tried xtable and crosstab. All of the results have been the same, no comma delimiters for numbers. I am working with weighted survey data.

Does anyone know how to modify sjplot to produce a chart where numbers have thousands delimiters or know another package that can accomplish this task

This is the R code I was using

sjt.xtab(KFF2017$b20a,KFF2017$size7, weight.by =KFF2017$empwt,show.col.prc = TRUE)

I hope this helps.

Thanks again!

Dan