Calculate Energy Landscapes For Terrestrial Animals.
This follows the transfer of functionalists of old GIS packages to terra, with rgdal, rgeos scheduled to be retired in 2023: https://r-spatial.org/r/2022/04/12/evolution.html. I removed dependencies on gDistance, raster, sp, rgeos, and rgdal.
Energy landscapes are now calculated using a zonal (kernel) based method, implemented in C++ functions. This is faster that previous versions, but it does not return the transition matrix or the conductance matrix. Because of this, least cost paths functions are not supported any more. Instead, use circuitscape or omniscape; see circuitscape_skeleton() and omniscape_skeleton() to generate the initialization files to run in Julia.
The cyclist model is also not supported any more; custom models must be written in the C++ functions. I plan to add a customizable function soon to do that.
You can install the released version of enerscape from CRAN with:
install.packages("enerscape")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("emilio-berti/enerscape")
To start with enerscape, check the vignette:
vignette("enerscape")
All releases are also archived on GitHub at https://github.com/emilio-berti/enerscape/releases.
From release 1.0.0, enerscape is also archived in Zenodo: https://doi.org/10.5281/zenodo.7445654.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.