Draw a map with labeled regions
map.text.RdLike map, but labels the regions.
Usage
map.text(database, regions = ".", exact = FALSE, labels, cex = 0.75,
add = FALSE, move = FALSE, ...)Arguments
- database
character string naming a geographical database, or a list of
x,y, andnamesobtained from a previous call tomap.- regions
character vector that names the polygons to draw.
- exact
If 'TRUE', only exact matches with 'regions' are selected for drawing.
- labels
character vector of labels, one for each region selected. Defaults to the names in the database.
- cex
character expansion factor.
- add
If
FALSE, a map is drawn, then labels placed on top. IfTRUE, labels are added to the existing map.- move
If
TRUE, labels are moved so that they don't overlap. Requires themininglibrary (not in CRAN, contact tpminka@media.mit.edu).- ...
Other arguments are the same as in
map.