I wrote this code to loop through my dataset and generate multiple plots however, the labels of the X axis for all the plots were not informative
for(i in 1:ncol(lfs)) {
print(plot_xtab(
grp = lfs$new_worker,
x = lfs[ , i],
xlab= lfs[ , i],
margin = "row",
bar.pos = "stack",
show.summary = TRUE,
coord.flip = T)
)
}