compare_gdp | R Documentation |
Compare GDP between two scenarios
compare_gdp(
db1,
db2,
facet_var = c("MPO", "COUNTY", "STATE"),
facet_levels = NULL,
color_levels = NULL,
index_year = 2000
)
db1 |
The swim database for the "Reference" scenario. |
db2 |
The swim database for the "Current" scenario. |
facet_var |
Field to facet by: "MPO", "COUNTY", or "STATE". |
facet_levels |
A character vector of the variable specifiying which levels to include. |
color_levels |
A character vector of the industry sectors to include. Defaults to all. |
index_year |
[Optional] index year that should be used as the starting year for data or plots; |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.