PerCapitaMap_tmap: PerCapitaMap_tmap

View source: R/MappingFunctions.R

PerCapitaMap_tmapR Documentation

PerCapitaMap_tmap

Description

Creates a tmap map displaying active cases per 'people' for the input data.

Usage

PerCapitaMap_tmap(
  DATA,
  people = 1e+05,
  boundaryweights = 0.05,
  projectionCRS = "+proj=eqearth",
  maptitle = NA
)

Arguments

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.

Value

Outputs a tmap displaying active cases per 'people' for the input data.

See Also

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

Examples

## Not run: 
Denmark <- LoadData("LoadDenmark")
PerCapitaMap_tmap(Denmark)

## End(Not run)

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