Description Usage Arguments Value
From the results of the RANN package, calculate the edge indices, the corresponding distances, and the edge incidence matrix Phi
1 | weights_init(idx, dist)
|
idx, dist |
the output of RANN::nn2() |
a list consist of: a 2*nEdges (# of edges) matrix of indices of edges; a nEdges-vector dists of the corresponding distances; a nEdges*n edge incidence matrix Phi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.