Description Usage Arguments Value
This function takes in data and produces a panel of stacked bar charts, based on different groupings. Intended to be used with oakViz::aggregate_categories()
1 2 3 4 5 6 7 8 | plot_bar_ses(
dat,
fill = "dest",
y_title = NULL,
save = F,
savename = "plot.png",
caption = paste0(frb_caption, ses_caption, period_caption)
)
|
dat |
Data with a column containing variables of interest and grouping variables. |
fill |
Name of column containing fill variable: "move", "dest" (default). |
save |
T if user would like to return plot object and save file, F (default) to just return object. |
savename |
File name of map for saving. |
caption |
Caption for figure |
Stacked bar charts with SES facets, period x-axis groupings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.