library(tmap)

Maps made in plot mode

tmap_mode("plot")
data(World)
tm_shape(World) +
  tm_polygons("HPI")

Maps made in view mode

tmap_mode("view")
data(World)
tm_shape(World) +
  tm_polygons("HPI", id = "iso_a3", popup.vars = TRUE)


mtennekes/tmap documentation built on Aug. 31, 2022, 7:49 p.m.