slope: Slopes

View source: R/RcppExports.R

slopeR Documentation

Slopes

Description

Slopes

Usage

slope(x, center, res, out)

Arguments

x

matrix with values

center

numeric value (double) with the value of the focal cell

res

numeric value (double) of the spatial resolution of the matrix

out

(integer) if to calculate the costs for moving into the cell (0) or from it (1).

Value

Vector with values the slopes (degrees) between x and center


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