README.md

enerscape

Calculate Energy Landscapes For Terrestrial Animals.

R-CMD-check

DOI

Changelog

1.1.2

Add options to calculates costs from cell for one specific direction (left, bottom, right, up). This calls an if statement inside energyscape and may results is significant slowdowns. I am investigating an alternative solution to this.

1.1.1

Add options to calculate costs from cell rather than to it.

1.1.0

Update the enerscape model following https://doi.org/10.1098/rsbl.2023.0492.

1.0.0

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.

Installation

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

Releases

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.



emilio-berti/enerscape documentation built on Sept. 9, 2024, 9:43 p.m.