Learn R Programming

warbleR (version 1.0.2)

xcmaps: Maps of Xeno-Canto recordings by species

Description

xcmaps creates maps to visualize the geographic spread of Xeno-Canto recordings.

Usage

xcmaps(X, img = TRUE, it = "jpeg")

Arguments

X
Data frame output from querxc.
img
A logical argument specifying whether an image file of each species map should be returned, default is TRUE.
it
A character vector of length 1 giving the image type to be used. Currently only "tiff" and "jpeg" are admitted. Default is "jpeg".

Value

  • A map of Xeno-Canto recordings per species (image file), or a faceted plot of species map(s) in RStudio.

Examples

Run this code
X <- querxc("Phaethornis anthophilus", download = FALSE)
View(X)
xcmaps(X)
xcmaps(X, img = FALSE, it = "jpeg")

Run the code above in your browser using DataLab