multiple_sevar | R Documentation |
Scenarios (represented by elements of dbset
) are represented as colors, while facet_var
specifies the
variable to use for facets.
multiple_sevar(
dbset,
db_names,
variable = c("population", "employment"),
facet_var = NULL,
facet_levels = NULL,
controls = TRUE,
index = FALSE,
index_year = 2000
)
dbset |
A list of connections to SWIM databases. |
db_names |
A character vector naming the scenarios. |
variable |
One of |
facet_var |
Field to facet by: either "MPO" or "COUNTY". |
facet_levels |
A character vector of the facet variable specifying which levels to include. |
controls |
Plot against the control totals. Defaults to TRUE, cannot currently run with FALSE. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.