Learn R Programming

enerscape (version 1.1.0)

distances: Spatial distances

Description

Spatial distances

Usage

distances(x, center, res)

Value

Vector with values the distances between x and center

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