density.list | R Documentation |
Estimating the intensity of a list of tracks.
## S3 method for class 'list'
density(x, timestamp,...)
x |
a list of "Track" objects, an object of class "Tracks" or "TracksCollection" |
timestamp |
based on secs, mins, ... |
... |
passed to arguments of density.ppp |
This estimate the average intensity function of moving objects over time. Bandwidth selection methods such as bw.diggle, bw.scott and bw.ppl can be passed to this density.list.
an image of class "im".
Mohammad Mehdi Moradi <moradi@uji.es>
rTrack, density.ppp
if (require(spatstat.explore)) {
X <- list()
for(i in 1:10){
m <- matrix(c(0,10,0,10),nrow=2,byrow = TRUE)
X[[i]] <- rTrack(bbox = m,transform = TRUE)
}
density(X, timestamp = "180 secs")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.