Creates bar plots for comparing demographic distributions between sample data and poststratification data. Check out the More examples of R6 classes vignette for usage examples.
Arguments
- demo
Character string specifying the demographic variable to plot.
- file
Optional file path to save the plot.
- ...
Additional arguments passed to
ggsave
, such aswidth
andheight
.