Description Details Author(s) See Also
The great circle distance is calculated by the function rdist.earth
in library fields
.
The distance measures implemented in sphet
are:
'euclidean'
: √{∑{(x_i - y_i)^2}}
'chebyshev'
: max(|x_i - y_i|)
'braycur'
: \frac{∑{|x_i - y_i|}}{∑{|x_i + y_i|}}
'canberra'
: \frac{∑{|x_i - y_i|}}{∑{|x_i| + |y_i|}}
'gcircle'
: see spDists
, which uses an approximation to the WGS84 spheroid.
Gianfranco Piras gpiras@mac.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.