compare_vmt | R Documentation |
Compare VMT between scenarios
compare_vmt(
db1,
db2,
facet_var = c("MPO", "COUNTY"),
facet_levels = NULL,
index = TRUE,
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: either "MPO" or "COUNTY". |
facet_levels |
A character vector of the facet variable specifiying which levels to include. |
index |
Whether to show the variables as indexed against the base year. |
index_year |
[Optional] index year that should be used as the starting year for data or plots; |
A ggplot2 object showing VMT by facility type in each facet level over time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.