link.distance Function (GPL)
Syntax
link.distance(<algebra>, radius(<numeric>))
or
link.distance(<binning function>, radius(<numeric>))
or
link.distance(<statistic function>, radius(<numeric>))
<algebra>. Graph algebra, such as x*y
.
Refer to Brief Overview of GPL Algebra for an introduction to graph algebra.
<numeric>. A numeric value indicating the distance to determine whether values are connected.
<binning function>. A binning function.
<statistic function>. Another statistic function.
The result of the embedded statistic is used to calculate link.distance
.
Description
Calculates the distance graph for the values. This function is typically used with the edge graphic element. The distance graph connects any two values whose distance is less than or equal to the specified radius.
Examples
ELEMENT: edge(position(link.distance(x*y), radius(5000)))
Statistic Functions
See GPL Functions .