Learn R Programming

EnviroStat (version 0.4-2)

Fdist: Interpoint distances

Description

Function to compute interpoint distances for an $n \times p$ coordinate matrix.

Usage

Fdist(crds)

Arguments

crds
$n\times p$ matrix of $n$ locations, each with $p$ coordinates

Value

$n\times n$ matrix of interdistances; $(i, j)$ element is the distance between locations $i$ and $j$