Learn R Programming

trajectories (version 0.2-9)

chimaps: 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,...)

Value

an image of class "im".

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

Author

Mohammad Mehdi Moradi <moradi@uji.es>

Details

[estimated intensity - expected intensity] / sqrt(expected intensity).

See Also

density.list, density.ppp

Examples

Run this code
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)
}

Run the code above in your browser using DataLab