compare_trips: Compare Trips

Description Usage Arguments Value

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.


pbsag/swimr documentation built on May 24, 2019, 10:39 p.m.