The procedure controls the type of distance.
CheckDistance(distance)
Returns 0,1,2 for euclidean,geodesic, chordal distances respectively. Otherwise returns NULL.
String; the type of distance, for the
description see GeoCovmatrix
.
Default is Eucl
. Other possible values are Geod
and Chor
that is euclidean, geodesic and chordal distance.
Moreno Bevilacqua, moreno.bevilacqua89@gmail.com,https://sites.google.com/view/moreno-bevilacqua/home, Víctor Morales Oñate, victor.morales@uv.cl, https://sites.google.com/site/moralesonatevictor/, Christian", Caamaño-Carrillo, chcaaman@ubiobio.cl,https://www.researchgate.net/profile/Christian-Caamano
The function check if the type of distance is valid.