pcfinhom.Track | R Documentation |
Pair correlation funcrion of trajectory pattern
pcfinhom.Track(X,timestamp,correction = c("translate", "Ripley"),q,
sigma=c("default","bw.diggle","bw.ppl","bw.scott"),...)
X |
A list of Track objects |
timestamp |
based on secs,mins,... |
correction |
the type of correction to be used in computing pair correlation function |
q |
(optional) a numeric value between 0 and 1. quantile to be applied to calculate the variability area |
sigma |
method to be used in computing intensity function |
... |
passed to the arguments of pcfinhom |
This calculates the variability area of pair correlation function over time. If sigma=default, it calculates the variability area using the defaults of pcfinhom, otherwise it first estimate the intensity function using the given sigma as bandwidth selection method and then using the estimated intensity function, it estimates the variability area.
an object of class "gTrack"
Mohammad Mehdi Moradi <moradi@uji.es>
rTrack, as.Track.ppp, pcfinhom
if (require(spatstat.explore)) {
X <- list()
for(i in 1:100){
m <- matrix(c(0,10,0,10),nrow=2,byrow = TRUE)
X[[i]] <- rTrack(bbox = m,transform = TRUE)
}
g <- pcfinhom.Track(X,timestamp = "180 sec")
plot(g)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.