Estimate the variability area of K-function of a list of tracks.
Kinhom.Track(X,timestamp,
correction=c("border", "bord.modif", "isotropic", "translate"),q,
sigma=c("default","bw.diggle","bw.ppl"," bw.scott"),...)
an object of class "KTrack".
A list of Track objects
based on secs,mins,...
the type of correction to be used in computing K-function
(optional) a numeric value between 0 and 1. quantile to be applied to calculate the variability area
method to be used in computing intensity function
passed to the arguments of Kinhom
Mohammad Mehdi Moradi <moradi@uji.es>
This calculates the variability area of K-function over time. If sigma=default, it calculates the variability area using the defaults of Kinhom, 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.
rTrack, as.Track.ppp, Kinhom
if (require(spatstat)) {
X <- list()
for(i in 1:50){
m <- matrix(c(0,10,0,10),nrow=2,byrow = TRUE)
X[[i]] <- rTrack(bbox = m,transform = TRUE)
}
Kinhom.Track(X, timestamp = "180 secs")
}
Run the code above in your browser using DataLab