View source: R/plotFunctions.R
avisMap | R Documentation |
This function should be used with avisQuerySpecies, to set a particular query (with or without filters) and get the observations that we want to map. It just allow to map one species. See avisMapSpecies for multiple maps.
avisMap(obs, label = "", maptype = "admin")
obs |
set of observations returned by any of the avisQueryXXX functions |
label |
label for the map. E.g. "Occurrences of Pica pica in Proyecto AVIS" |
maptype |
Available types of map are 'admin', administrative provinces of Spain (by default) or 'phys, physical map of Spain. |
a plot with the occurrences of the species in the Iberian Peninsula. Maps have high resolution, so they could be printed.
## Not run: obs<- avisQuerySpecies ("Pica pica", args = list(habitat = "bosque")) avisMap(obs, label = "Pica pica") avisMap(obs, label = "Pica pica", maptype = "phys") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.