DistMat: Create Distance Matrix

View source: R/RcppExports.R

DistMatR Documentation

Create Distance Matrix

Description

Create Distance Matrix

Usage

DistMat(M, cutoff, kernel = "bartlett", dist_fn = "Haversine")

Arguments

M

a matrix of locations

cutoff

the distance for cutoff

kernel

(string) kernel function (default is bartlett-triangular)

dist_fn

(string) distance function (Haversine)


axlehner/SpatialInference documentation built on Jan. 28, 2025, 3:19 p.m.