compare_vht: Compare VHT between scenarios

View source: R/vmt.R

compare_vhtR Documentation

Compare VHT between scenarios

Description

Compare VHT between scenarios

Usage

compare_vht(
  db1,
  db2,
  facet_var = c("MPO", "COUNTY"),
  facet_levels = NULL,
  index_year = 2000
)

Arguments

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_year

[Optional] index year that should be used as the starting year for data or plots;

Value

A ggplot2 object showing VHT by facility type in each facet level over time.


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