diff_popup: Build diff popup tag for leaflet

Description Usage Arguments

View source: R/zone_leaflet.R

Description

Build diff popup tag for leaflet

Usage

1
diff_popup(shp, var, scen_names)

Arguments

shp

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

var

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

scen_names

Names of the scenarios in the comparison. Defaults to "Reference", "Current".


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