kfunc_cpp2 | R Documentation |
c++ k function (INTERNAL)
kfunc_cpp2(dist_mat, start, end, step, Lt, n, wc, wr, cross = FALSE)
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 |
n |
The number of points |
wc |
The weight of the points represented by the columns (destinations) |
wr |
The weight of the points represented by the rows (origins) |
cross |
A boolean indicating if we are calculating a cross k function or not (default is FALSE) |
A numeric vector with the values of the k function evaluated at the required distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.