compare_trips: Compare Trips

Description Usage Arguments Value

View source: R/trips.R

Description

Compare Trips

Usage

1
compare_trips(db1, db2, ..., diff_type = "pct_diff")

Arguments

db1

The swim database for the "Reference" scenario.

db2

The swim database for the "Current" scenario.

...

Arguments passed on to extract_trips

db

the scenario database.

facet_var

The region to dplyr::summarize by.

facet_levels

Regions to include in summary.

color_levels

Modes to include in summary. Defaults to all modes other than school. See consolidated modes in mode_types.

index

whether to index mode split off the base year.

diff_type

Character string saying whether to use abolute ('diff') or percent ('pct_diff') differences. Defaults to percent.

Value

A ggplot2 object.


tlumip/swimr documentation built on Dec. 14, 2020, 3:16 a.m.