filter_eccen
computes the Eccentricity filter.
filter_eccen(dist, p, ...)
dist | The distance matrix. |
---|---|
p | A numeric scalar denoting the exponent. |
... | Further arguments. |
A matrix object of filter values.
Eccentricity filter function is defined as \(f(x_i;p) = (\frac{1}{n}\sum_{j=1}^n d^p(x_i,x_j))^{1/p}\).
tp_data = chicken_generator(1) tp_dist = dist(tp_data[,-1]) filter_eccen(dist = tp_dist, p = 2)