energyscape {enerscape} | R Documentation |
Energy Landscape
energyscape(x, n = 4L, mass = 0, res = 0, kcal = TRUE)
x |
matrix with values the elevation. |
n |
(integer) number of neighbours to consider (either 4 or 8). |
mass |
body mass of species (kg). |
res |
numeric value (double) of the spatial resolution of the matrix. |
kcal |
(boolean) if to return the result in kCal (true) or J (false). |
Matrix with the energy cost of locomotion (EnergyScape).