View source: R/MappingFunctions.R
PerCapitaMap_tmap | R Documentation |
Creates a tmap map displaying active cases per 'people' for the input data.
PerCapitaMap_tmap( DATA, people = 1e+05, boundaryweights = 0.05, projectionCRS = "+proj=eqearth", maptitle = NA )
DATA |
Data containing prevalence information to map. |
people |
Transform from proportion of population to per 'people'. |
boundaryweights |
Weight assigned to the maps boundary edges. |
projectionCRS |
Type of geographic projection to use. |
maptitle |
Adds title to map. |
Outputs a tmap displaying active cases per 'people' for the input data.
Other mapplots:
EventMap_leaflet()
,
EventMap_tmap()
,
PerCapitaMap_leaflet()
## Not run: Denmark <- LoadData("LoadDenmark") PerCapitaMap_tmap(Denmark) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.