slope | R Documentation |
Slopes
slope(x, center, res, out)
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). |
Vector with values the slopes (degrees) between x and center
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.