distanceToNeighbour: Distance Matrix to Matrix of Neighbours

View source: R/rain_meta.R

distanceToNeighbourR Documentation

Distance Matrix to Matrix of Neighbours

Description

Convert distance matrix to matrix of neighbours

Usage

distanceToNeighbour(mdist)

Arguments

mdist

distance matrix as returned by getGaugeDistances

Value

matrix of neighbour names with row names = gauge names and column names = n1, n2, n<n.gauges - 1>


KWB-R/kwb.read documentation built on Oct. 2, 2023, 10:40 a.m.