View source: R/MappingFunctions.R
EventMap_leaflet | R Documentation |
Creates an interactive Leaflet map displaying exposure risk for the input data.
EventMap_leaflet(DATA, G, AB, boundaryweights = 0.05)
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. |
Outputs an interactive leaflet map displaying exposure risk for the input data.
Other mapplots:
EventMap_tmap()
,
PerCapitaMap_leaflet()
,
PerCapitaMap_tmap()
## Not run: Austria <- LoadData("LoadAustria") Austria$AB <- 4 EventMap_leaflet(Austria, 50, Austria$AB) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.