Learn R Programming

GeoModels (version 2.0.6)

CheckDistance: Checking Distance

Description

The procedure controls the type of distance.

Usage

CheckDistance(distance)

Value

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

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.