-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
In the Chapter 15: Arranging maps tutorial, the code chunk below from part 15.1, raises an error of "could not find function "tm_components"
tm_shape(slo_elev) +
tm_raster(
col.scale = tm_scale_continuous(values = "geyser", midpoint = NA)
) +
tm_title("Maribor", group_id = 1) +
tm_inset(tmaptools::bb("Maribor"), group_id = 1) +
tm_title("Ljubljana", group_id = 1) +
tm_inset(tmaptools::bb("Ljubljana"), group_id = 1) +
tm_title("Bled", group_id = 2) +
tm_inset(tmaptools::bb("Bled"), group_id = 2) +
tm_components(1, position = c("right", "bottom")) +
tm_components(2, position = c("left", "top"))
Metadata
Metadata
Assignees
Labels
No labels