hfun: h_{12}(t) from polygons

hfunR Documentation

h_{12}(t) from polygons

Description

Computes the h_{12} (K or L) based on a distance matrix based on a method

Usage

h_func(
  p1,
  p2,
  hausdorff = TRUE,
  method = "rnd_poly",
  var_st = FALSE,
  dists = NULL
)

h_func.list(x, ...)

Arguments

p1

sf object

p2

sf object

hausdorff

logical parameter indicating whether the Hausdorff distance should be used

method

method to deal with broken polygons

var_st

logical scalar indicating if the L function should be used instead

dists

vector of distances to compute h_{12}(t).

x

a list with two sf objects.

...

Parameters to be used with h_func when inputting a list.

Value

a numeric vector


lcgodoy/tpsa documentation built on Oct. 12, 2024, 11:37 a.m.