powered by
Creates maps ready to print in pdf or other formats.
map.draw( longlat = NULL, layer, spName, borders = FALSE, scale = TRUE, legend = FALSE, sites = TRUE, mcp = FALSE, print = FALSE )
Matrix of longitude and latitude or eastness and northness (two columns in this order) of each occurrence record.
RasterLayer object representing the presence/absence map for the species.
String of species name.
If TRUE country borders are drawn.
If TRUE a distance scale in km is drawn.
If TRUE the legend for the map is drawn.
If TRUE the record locations are drawn.
If TRUE the minimum convex polygon representing the Extent of Occurrence is drawn.
If TRUE a pdf is saved instead of the output to the console.
records = red.examples("red.records") range = red.examples("red.range") par(mfrow = c(1,2)) map.draw(records, layer = range, mcp = TRUE)
Run the code above in your browser using DataLab