ggmosaic for mosaic plot
your dataframe, must have 3 columns, the third column must be numeric
parameters parse to geom_rect
rect_space, defalut 0.
show "number" or "percentage" or "none"
parameters parse to geom_text
show x label on "top" or "bottom" or "none"
show y label on "right" or "left" or "none"
parameters parse to geom_text
whether show chisq test
a ggplot