BIEN_ranges_load_species: Load range maps for specified species.

View source: R/BIEN.R

BIEN_ranges_load_speciesR Documentation

Load range maps for specified species.

Description

BIEN_ranges_load_species returns spatial data for the specified species.

Usage

BIEN_ranges_load_species(species, ...)

Arguments

species

A single species or a vector of species.

...

Additional arguments passed to internal functions.

Value

A sf containing range maps for the specified species.

See Also

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()

Examples

## 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)

BIEN documentation built on Jan. 6, 2023, 9:06 a.m.