View source: R/MappingFunctions.R
EventMap_tmap | R Documentation |
Creates a tmap map displaying active cases per 'people' for the input data.
EventMap_tmap( DATA, G, AB, boundaryweights = 0.05, projectionCRS = "+proj=eqearth", maptitle = NA )
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. |
projectionCRS |
Type of geographic projection to use. |
maptitle |
Adds title to map. |
Outputs a tmap displaying exposure risk for the input data.
Other mapplots:
EventMap_leaflet()
,
PerCapitaMap_leaflet()
,
PerCapitaMap_tmap()
## Not run: Austria <- LoadData("LoadAustria") Austria$AB <- 4 EventMap_tmap(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.