chimaps {trajectories} | R Documentation |
Chimaps of tarjectory pattern.
Description
Computes the chimaps, corresponding to a list of objects of class "Track". chimaps are based on the discrepancy between computed and expected intensity in a given location.
Usage
chimaps(X,timestamp,rank,...)
Arguments
X |
A list of Track objects |
timestamp |
based on secs,mins,... |
rank |
a number between one and the length of corresponding time sequance which is created based on given timestamp. |
... |
passed to arguments of density.Track |
Details
[estimated intensity - expected intensity] / sqrt(expected intensity).
Value
an image of class "im".
Author(s)
Mohammad Mehdi Moradi <moradi@uji.es>
See Also
Examples
if (require(spatstat.geom)) {
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)
}
chimaps(X, timestamp = "180 secs",rank = 2)
}
[Package trajectories version 0.2-8 Index]