Examples for 'ggmosaic::theme_mosaic'


Theme for mosaic plots

Aliases: theme_mosaic

Keywords:

### ** Examples

library(ggmosaic)
data(happy)
ggplot(data = happy) +
  geom_mosaic(aes(weight=wtssall, x=product(health), fill=happy), na.rm=TRUE) +
  theme_mosaic()
Warning: `unite_()` was deprecated in tidyr 1.2.0.
ℹ Please use `unite()` instead.
ℹ The deprecated feature was likely used in the ggmosaic package.
  Please report the issue at <https://github.com/haleyjeppson/ggmosaic>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
plot of chunk example-ggmosaic-theme_mosaic-1

[Package ggmosaic version 0.3.3 Index]