Description Usage Arguments Value
View source: R/plot_bar_periods.R
This function takes in data and produces a bar chart grouped by either gentrification, ethnoracial, income, SES, or period category across four housing periods.
1 2 3 4 5 6 7 8 9 10 11 |
dat |
Data with a column containing census tracts and variable of interest. |
var |
Name of column containing variable to plot. |
limits |
Y-axis limits |
y_title |
Title to display along y-axis. |
group |
Category for x-axis grouping: "gent" (default), "ethnoracial", "race", "income", "ses", or "period" |
scale_type |
Y-axis scale type: "numeric" or "percent" |
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 |
Grouped bar chart across periods.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.