Learn R Programming

forestSAS (version 1.0.1)

nnoverlap: Crown overlap among nearest neighbour

Description

Identify wheter crown overlap among nearest neighbour.

Usage

nnoverlap(nncrown, nndist)

Arguments

nncrown

Crown width of nearest neighbour.

nndist

Distance of nearest neighbour.

Value

Crown overlap among nearest neighbour,the value is positive means overlap, value is negative means no overlap.

Examples

Run this code
# NOT RUN {
data(tree.ppp)
NNcrown<-nnIndex(tree.ppp,N=4,smark="crownwid.m",buffer=FALSE)
NNoverlap<-nnoverlap(NNcrown$nncrownwid.m,NNcrown$nndist)
NNoverlap
# }

Run the code above in your browser using DataLab