cross_gfun: Base cross g-function

Description Usage Arguments Value Examples

View source: R/k_functions.R

Description

Calculate the base cross g-function.

Usage

1
cross_gfun(dist_mat, start, end, step, width, Lt, na, nb, wa, wb)

Arguments

dist_mat

A matrix with the distances between points

start

A float, the start value for evaluating the g-function

end

A float, the last value for evaluating the g-function

step

A float, the jump between two evaluations of the k-function

width

The width of each donut

Lt

The total length of the network

na

The number of points in set A

nb

The number of points in set B

wa

The weight of the points in set A (coincident points)

wb

The weight of the points in set B (coincident points)

Value

A numeric vector with the values

Examples

1
#This is an internal function, no example provided

spNetwork documentation built on Oct. 30, 2021, 5:06 p.m.