ggmosaic | R Documentation |
Creates a nice-looking mosaic plot in ggplot-style.
ggmosaic(data, xvar, yvar, useNA = "no", ...)
data |
A dataset. |
xvar |
name of the first variable |
yvar |
name of the second variable |
useNA |
Should NAs be considered (regarding to the table() function) |
... |
Further inputs. |
Dennis Freuer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.