Last chance! 50% off unlimited learning
Sale ends in
map
, but labels the regions.map.text(database, regions = ".", labels, cex = 0.75, add = FALSE,
move = FALSE, ...)
x
, y
, and names
obtained from a previous call to
map
.FALSE
, a map is drawn, then labels placed on top. If
TRUE
, labels are added to the existing map.TRUE
, labels are moved so that they don't
overlap. Requires the mining
library.map
.map.text("world", "ira") # iran and iraq
map.text("state", "penn")
map.text("county", "penn") # Pennsylvania counties
map.text("county", "new jersey") # New Jersey counties
Run the code above in your browser using DataLab