CheckDistance: Checking Distance

View source: R/Utility.r

CheckDistanceR Documentation

Checking Distance

Description

The procedure controls the type of distance.

Usage

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.

Value

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


GeoModels documentation built on April 13, 2025, 5:09 p.m.