density.list: Kernel estimate of intensity of trajectory pattern

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/Trackstat.R

Description

Estimating the intensity of a list of tracks.

Usage

1
2
## S3 method for class 'list'
density(x, timestamp,...)

Arguments

x

a list of "Track" objects, an object of class "Tracks" or "TracksCollection"

timestamp

based on secs, mins, ...

...

passed to arguments of density.ppp

Details

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.

Value

an image of class "im".

Author(s)

Mohammad Mehdi Moradi <moradi@uji.es>

See Also

rTrack, density.ppp

Examples

1
2
3
4
5
6
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")

trajectories documentation built on March 16, 2021, 5:09 p.m.