wsDistance: Produces a site by pixel distance matrix

View source: R/topology.r

wsDistanceR Documentation

Produces a site by pixel distance matrix

Description

Note that pixels in the watershed that are not connected to any of the sites will be excluded from the result.

Usage

wsDistance(ws, x, variable = "length")

Arguments

ws

A watershed

x

A vector of sites

variable

The variable to use as the distance

Value

A site by pixel distance matrix


mtalluto/WatershedTools documentation built on May 21, 2022, 7:49 p.m.