Description Usage Arguments Author(s) Examples
Takes output from get_occurrences_ala
or get_occurrences_gbif
, and rasterizes the occurrences into 10min (ca. 18km2). At the moment rasterizing uses only this fixed resolution, which is the coarsest resolution for WorldClim data (see http://www.worldclim.org/version1). The result is a dataframe with latitude and longitude of the midpoints of the raster cells where the species occurs at least once.
1 | rasterize_occurrences(spdat, return_raster = FALSE)
|
spdat |
A dataframe returned by |
return_raster |
Logical (default FALSE). If TRUE, return the raster object, instead of the raster converted to a dataframe with midpoint coordinates. |
Remko Duursma
1 2 3 4 5 | ## Not run:
o <- get_occurrences_ala("Eucalyptus botryoides")
r <- rasterize_occurrences(o)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.