map {spidR} | R Documentation |
Map species ranges.
Description
Maps species range according to the World Spider Catalogue and records according to GBIF and the World Spider Trait database.
Usage
map(
tax,
countries = TRUE,
records = TRUE,
hires = FALSE,
zoom = FALSE,
order = FALSE
)
Arguments
tax |
A taxon name or vector with taxa names. |
countries |
Maps countries according to WSC. |
records |
Maps records according to GBIF and WST. |
hires |
Provides high resolution maps. Beware it might take longer to render. |
zoom |
If records is TRUE, the map will be zoomed to the region with records. |
order |
Order taxa names alphabetically or keep as in tax. |
Details
Countries based on the interpretation of the textual descriptions available at the World Spider Catalogue (2021). These might be only approximations to country level and should be taken with caution.
Value
A world map with countries and records highlighted.
References
Pekar, S., Cernecka, L., Wolff, J., Mammola, S., Cardoso, P., Lowe, E., Fukushima, C.S., Birkhofer, K. & Herberstein, M.E. (2021). The world spider trait database. Masaryk University, Brno, URL: https://spidertraits.sci.muni.cz
World Spider Catalog (2021). World Spider Catalog. Version 22.0. Natural History Museum Bern, online at http://wsc.nmbe.ch. doi: 10.24436/2.
Examples
## Not run:
map(c("Pardosa hyperborea"))
map("Amphiledorus", zoom = TRUE)
map(c("Pardosa hyperborea", "Iberesia machadoi"), countries = FALSE, hires = TRUE, zoom = TRUE)
## End(Not run)