BinPer {IndTestPP} | R Documentation |
Percentage of concordant intervals
Description
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, |
posy |
Numeric vector. Occurrence points in the second process, |
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. |
Details
In order to be useful, an adequate length of interval ll, depending on the expected dependence, has to be selected.
Value
binper |
Percentage of concordant intervals. |
See Also
Examples
#generation of two HPP
aux1<-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)
[Package IndTestPP version 3.0 Index]