h_euc: H(d) - Euclidean Distance

View source: R/utils.R

h_eucR Documentation

H(d) - Euclidean Distance

Description

Auxiliar function to h_func.

Usage

h_euc(obj_sp1, obj_sp2, distances, H, unique_bbox, ...)

Arguments

obj_sp1

an object from class SpatialPolygons or SpatialPointsDataFrame

obj_sp2

an object from class SpatialPolygons or SpatialPointsDataFrame

distances

a numeric vector indicating the distances to evaluate H(d). If NULL then the range considered goes from 5 observed inside the unique_bbox.

H

a character indicating the function to be used. Possible entries are: 'K' or 'L'.

unique_bbox

a matrix 2 \times 2 corresponding to the boundary box that contains both sets

...

parameters for test statistics functions

Details

Internal use.

Value

numeric vector.


lcgodoy/tpsa documentation built on Oct. 17, 2023, 3:26 p.m.