map_logsums: Map destination choice logsums from a single scenario

View source: R/logsums.R

map_logsumsR Documentation

Map destination choice logsums from a single scenario

Description

Map destination choice logsums from a single scenario

Usage

map_logsums(
  db,
  scope = NULL,
  purposes = NULL,
  ggmap = FALSE,
  show_year = 2010,
  index_year = 2000
)

Arguments

db

The scenario sqlite database.

scope

a dplyr::filtering criteria to limit the scope of the dataframe

purposes

a vector of trip purposes to include in the average logsum.

ggmap

If TRUE, then include a ggmap background.

show_year

The year in which to plot the logsums.

index_year

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


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