plot_sevar: Make a plot of population and employment

View source: R/population.R

plot_sevarR Documentation

Make a plot of population and employment

Description

Make a plot of population and employment

Usage

plot_sevar(..., var = "both")

Arguments

...

Arguments passed on to extract_se

db

The scenario sqlite database.

color_var

Field to color by: either "MPO" or "COUNTY".

color_levels

A character vector of the color variable specifiying 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;

Value

A ggplot2 plot object showing the modeled change in employment and population over time.


pbsag/swimr documentation built on July 4, 2025, 12:10 p.m.