avisMap: Renders a map for the observations provided in 'obs'

Description Usage Arguments Value Examples

View source: R/plotFunctions.R

Description

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.

Usage

1
avisMap(obs, label = "", maptype = "admin")

Arguments

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.

Value

a plot with the occurrences of the species in the Iberian Peninsula. Maps have high resolution, so they could be printed.

Examples

1
2
3
4
5
6
## 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)

rAvis documentation built on May 30, 2017, 6:42 a.m.