It calculates the proportion of the number of intervals with at least
one point in both processes, and the sum of the number
of intervals with at least one point in one process, \(n_{x,y}/(n_{x,y}+n_{x,0}+n_{0,y})\).
Usage
BinPer(posx, posy, ll, T)
Arguments
posx
Numeric vector. Occurrence points in the first process, \(N_x\).
posy
Numeric vector. Occurrence points in the second process, \(N_y\).
ll
Numeric value. Lenght of the intervals where the number of points are counted.
T
Numeric value. Length of the observed period of the point processes.
Value
binper
Percentage of concordant intervals.
Details
In order to be useful, an adequate length of interval ll, depending on the expected dependence,
has to be selected.
# NOT RUN {#generation of two HPPaux1<-simNHPc(lambda=rep(0.08,200),fixed.seed=123)
aux2<-simNHPc(lambda=rep(0.12,200),fixed.seed=125)
BinPer(aux1$posNH, aux2$posNH,ll=5, T=200)
# }