Description Usage Arguments Details Value Author(s) References See Also Examples
Calculates the angle to the nearest neighbor point over a linear network
1 | nnangle.lpp(X, k = 1, degree = TRUE, directed = TRUE)
|
X |
an object of class lpp |
k |
The algorithm will find the angle towards the kth nearest neighbor |
degree |
logical. if TRUE, output is based on angles |
directed |
logical. if TRUE, the algorithm considers direction |
this function calculates the orientation to the kth nearest neighbor for each point
a vector of angles
Mehdi Moradi m2.moradi@yahoo.com
Moradi, M., Mateu, J,. and Comas, C. (2020) Directional analysis for point patterns on linear networks. Stat.
nndist
1 2 3 | # generate random relaisations
X <- rpoislpp(0.001,branchnet)
nnange <- nnangle.lpp(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.