BIEN_ranges_load_species | R Documentation |
BIEN_ranges_load_species returns spatial data for the specified species.
BIEN_ranges_load_species(species, ...)
species |
A single species or a vector of species. |
... |
Additional arguments passed to internal functions. |
A sf containing range maps for the specified species.
Other range functions:
BIEN_ranges_box()
,
BIEN_ranges_genus()
,
BIEN_ranges_intersect_species()
,
BIEN_ranges_list()
,
BIEN_ranges_sf()
,
BIEN_ranges_shapefile_to_skinny()
,
BIEN_ranges_skinny_ranges_to_richness_raster()
,
BIEN_ranges_species_bulk()
,
BIEN_ranges_species()
## Not run: library(maps) species_vector<-c("Abies_lasiocarpa","Abies_amabilis") abies_maps <- BIEN_ranges_load_species(species = species_vector) xanthium_strumarium <- BIEN_ranges_load_species(species = "Xanthium strumarium") #Plotting files plot(abies_maps) # plots the sf, but doesn't mean much without any reference map('world', fill = TRUE, col = "grey")#plots a world map (WGS84 projection), in grey plot(xanthium_strumarium,col="forest green",add = TRUE) #adds the range of X. strumarium plot(abies_maps[1,], add = TRUE, col ="light green") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.