change_popup: Build change popup tag for leaflet

View source: R/zone_leaflet.R

change_popupR Documentation

Build change popup tag for leaflet

Description

Build change popup tag for leaflet

Usage

change_popup(shp, var, year1, year2)

Arguments

shp

An object of class SpatialPolygonsDataFrame with the plotting fields already appended.

var

Variable to create popup tag for (e.g., "pop")

year1

The first year

year2

The second year


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