h_func: H_{12}(d)

View source: R/utils.R

h_funcR Documentation

H_{12}(d)

Description

Evaluate a given function in the inputted distances.

Usage

h_func(
  obj_sp1,
  obj_sp2,
  unique_bbox = NULL,
  distances = NULL,
  method = "hausdorff",
  H = "L",
  ...
)

Arguments

obj_sp1

an object from class SpatialPolygons or SpatialPointsDataFrame

obj_sp2

an object from class SpatialPolygons or SpatialPointsDataFrame

unique_bbox

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

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.

method

a character specifying which kind of distance will be used to evalueate H. Also, there is an option of using areas. Options available: c('hausdorff', 'euclidean', 'area').

H

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

...

parameters for test statistics functions

Value

numeric vector.


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