energyscape | R Documentation |
Energy Landscape
energyscape(
x,
n = 4L,
mass = 0,
res = 0,
kcal = TRUE,
out = 0L,
direction = 0L
)
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). |
out |
(integer) if to calculate the costs for moving into the cell (0) or from it (1). |
direction |
(integer) for which direction to calculate costs: 0 for all, 1 for left, 2 for down, 3 for right, 4 for up. |
Matrix with the energy cost of locomotion (EnergyScape).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.