CheckDistance function

Checking Distance

Checking Distance

The procedure controls the type of distance. UTF-8

CheckDistance(distance)

Arguments

  • distance: 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.

Details

The function check if the type of distance is valid.

Returns

Returns 0,1,2 for euclidean,geodesic, chordal distances respectively. Otherwise returns NULL.

Author(s)

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

  • Maintainer: Moreno Bevilacqua
  • License: GPL (>= 3)
  • Last published: 2025-01-14