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".


tlumip/swimr documentation built on Dec. 14, 2020, 3:16 a.m.