kgfunc_counting: c++ k and g function counting worker

View source: R/RcppExports.R

kgfunc_countingR Documentation

c++ k and g function counting worker

Description

c++ k function counting (INTERNAL)

Usage

kgfunc_counting(dist_mat, wc, wr, breaks, width, cross = FALSE)

Arguments

dist_mat

A matrix with the distances between points

wc

The weight of the points represented by the columns (destinations)

wr

The weight of the points represented by the rows (origins)

breaks

A numeric vector with the distance to consider

width

The width of each donut

cross

A boolean indicating if we are calculating a cross k function or not (default is FALSE)

Value

A list of two numeric matrices with the values of the k and g function evaluated at the required distances


JeremyGelb/spNetwork documentation built on Jan. 18, 2025, 3:44 p.m.