psam: Polygons' Spatial Association Measure

View source: R/test_statistics.R

psamR Documentation

Polygons' Spatial Association Measure

Description

test statistic for the MC test.

Usage

psam(obj_sp1, obj_sp2, correction = "none", hausdorff = FALSE)

Arguments

obj_sp1

a SpatialPolygons or SpatialPointsDataFrame object

obj_sp2

a SpatialPolygons or SpatialPointsDataFrame object

correction

a character giving the edge correction to be used. Possible entries are c('none', 'torus', 'guard').

hausdorff

a boolean. If TRUE, then the Hausdorff distance is used. Otherwise the Euclidean distance is used. Default is FALSE.

Value

a numeric scalar with the polygons' spatial association measure for the corresponding objects.


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