change_leaflet: Leaflet plot of change over time in one scenario.

Description Usage Arguments Details

View source: R/zone_leaflet.R

Description

Leaflet plot of change over time in one scenario.

Usage

1
change_leaflet(db, year1 = 2010, year2 = 2030)

Arguments

db

The scenario database

year1

The first year

year2

The second year

Details

This function creates an interactive Leaflet plot of the alpha zone system, showing annualized implied growth rates of key socioeconomic variables between two years. For instance, the user can select 2010 and 2030 as analysis years, and the plot will show the implied average exponential growth rate between them.

As a note, SWIM does not generate alpha-zone level statistics in years when the transport model does not run. If the user asks for year that does not exist, then the plot will use the nearest available year.


pbsag/swimr documentation built on Jan. 14, 2019, 8:58 p.m.