Description Usage Arguments Details

Leaflet plot of change over time in one scenario.

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

`db` |
The scenario database |

`year1` |
The first year |

`year2` |
The second year |

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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.