Description Usage Arguments Value Examples
Retrieve extent of suitable habitat according to a single environmental variable. Variable should be continous raster (in future add multiple rasters + categorical) variables. Function removes the species extent of occurence outside of minimum and maximum values of raster variable.
1 | get_esh(species_data, species_eoo, habitat_variable)
|
species_data |
Output of get_species_data() function. Currently only sp object. |
species_eoo |
Output of get_eoo() function. Currently only sp object. |
habitat_variable |
Raster layer. Should be continous variable with same CRS and overlapping extent. |
Spatial object (currently only sp class - polygon)
1 2 3 4 5 6 7 8 | sal_atra <- get_species_data("Salamandra atra")
sal_atra_eoo <- get_eoo(sal_atra, return = "sp")
# Load elevation data
srtm_italy <- raster("Y:/Mirza_Cengic/Projects/Other/GSoC/srtm_39_03.tif")
sal_atra_esh <- get_esh(species_data = sal_atra,
species_eoo = sal_atra_eoo,
habitat_variable = srtm_italy)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.