Learn R Programming

enerscape (version 1.1.0)

energy: Energy Landscape

Description

Energy Landscape

Usage

energy(slope, distance, mass, res, kcal = TRUE)

Value

Vector with the energy cost of locomotion (EnergyScape)

Arguments

slope

vector with slopes

distance

vector with distances

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)