| sframe_draw_mosaic | R Documentation |
Base-graphics mosaic plot (via graphics::mosaicplot()), matching the
existing base-graphics precedent in this file
(sframe_draw_likert_diverging()) so it renders without ggplot2. An
alternative view of the same crosstab data
sframe_plot_crosstab() renders as a grouped bar; use whichever reads
better for the table's shape (mosaic scales better to unbalanced group
sizes).
sframe_draw_mosaic(result, palette = c("web", "print"))
result |
A |
palette |
One of |
Invisibly NULL; called for its plotting side effect on the
current graphics device.
sframe_plot_crosstab()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.