EventMap_leaflet: EventMap_leaflet

View source: R/MappingFunctions.R

EventMap_leafletR Documentation

EventMap_leaflet

Description

Creates an interactive Leaflet map displaying exposure risk for the input data.

Usage

EventMap_leaflet(DATA, G, AB, boundaryweights = 0.05)

Arguments

DATA

Data containing prevalence information to map.

G

Event size to compute risk for.

AB

Case ascertainment bias to compute risk for.

boundaryweights

Weight assigned to the maps boundary edges.

Value

Outputs an interactive leaflet map displaying exposure risk for the input data.

See Also

Other mapplots: EventMap_tmap(), PerCapitaMap_leaflet(), PerCapitaMap_tmap()

Examples

## Not run: 
Austria <- LoadData("LoadAustria")
Austria$AB <- 4
EventMap_leaflet(Austria, 50, Austria$AB)

## End(Not run)

sjbeckett/subregionalcovid19 documentation built on Feb. 7, 2023, 6 a.m.