Learn R Programming

spNetwork (version 0.2.1)

cross_kfunc: Base cross k-function

Description

Calculate the base cross k-function.

Usage

cross_kfunc(dist_mat, start, end, step, Lt, na, nb, wa, wb)

Arguments

dist_mat

A square matrix with the distances between points

start

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

end

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

step

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

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

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab