nnangle: Identify the angle among nearest neighbours

nnangleR Documentation

Identify the angle among nearest neighbours

Description

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.

Usage

nnangle(nndist, nnx, nny)

Arguments

nndist

Distance of nearest neighbour

nnx

x coordinate of nearest neighbour

nny

y coordinate of nearest neighbour

Value

The angles obtained between two adjacent neighbours.

Author(s)

Zongzheng Chai, chaizz@126.com

References

None

Examples

data(tree.ppp)
NNcoord<-nnIndex(tree.ppp,N=4,smark=c("x","y"),buffer=FALSE)
NNangle<-nnangle(NNcoord$nndist,NNcoord$nnx,NNcoord$nny)
NNangle

Zongzheng/forestSAS documentation built on July 13, 2024, 8:12 p.m.