plot_vht: Plot VHT over time.

View source: R/vmt.R

plot_vhtR Documentation

Plot VHT over time.

Description

This function plots the sum of the daily vehicle travel time, colored and faceted by arbitrary variables in the link or zone table.

Usage

plot_vht(db, facet_var = "MPO", facet_levels = NULL, index_year = 2000)

Arguments

db

The scenario database.

facet_var

The variable to use in faceting the data.

facet_levels

A character vector giving the levels of the faceting variable to use. Levels not called are dropped from the plot; default is NULL, meaning print all level.

index_year

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

Value

A ggplot2 figure object.


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