chimaps: Chimaps of tarjectory pattern.

View source: R/Trackstat.R

chimapsR 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

density.list, density.ppp

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)
}

edzer/trajectories documentation built on Jan. 4, 2024, 8:37 p.m.