examples/tmap_style.R

data(World)

current.style <- tmap_style("classic")
qtm(World, fill="life_exp", fill.title="Life expectancy")

tmap_style("cobalt")
qtm(World, fill="life_exp", fill.title="Life expectancy")

# restore current style
tmap_style(current.style)
mtennekes/tmap documentation built on Aug. 31, 2022, 7:49 p.m.