Skip to contents

Provides new layer functions for tmap to create various types of cartograms.

Installation

Installation of tmap.cartogram is straightforward:

install.packages("tmap.cartogram")

Development version

# install.packages("remotes")
remotes::install_github("r-tmap/tmap.cartogram")

# On Linux, with pak
# install.packages("pak")
pak::pak("r-tmap/tmap.cartogram")

# Or from r-universe
install.packages("tmap.cartogram", repos = c("https://r-tmap.r-universe.dev", "https://cloud.r-project.org"))

For the development version, it is also recommended to install the development version of tmap as well.