nnangle | R Documentation |
Describes the degree of regularity in the spatial distribution of n trees that are nearest to a reference tree. Moving clockwise around reference tree,the angle was obtained between two adjacent neighbours.
nnangle(nndist, nnx, nny)
nndist |
Distance of nearest neighbour |
nnx |
x coordinate of nearest neighbour |
nny |
y coordinate of nearest neighbour |
The angles obtained between two adjacent neighbours.
Zongzheng Chai, chaizz@126.com
None
data(tree.ppp)
NNcoord<-nnIndex(tree.ppp,N=4,smark=c("x","y"),buffer=FALSE)
NNangle<-nnangle(NNcoord$nndist,NNcoord$nnx,NNcoord$nny)
NNangle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.