Kinhom.Track: Inhomogeneous K-function for trajectory pattern

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

View source: R/Trackstat.R

Description

Estimate the variability area of K-function of a list of tracks.

Usage

1
2
3
Kinhom.Track(X,timestamp,
                correction=c("border", "bord.modif", "isotropic", "translate"),q,
                sigma=c("default","bw.diggle","bw.ppl"," bw.scott"),...)

Arguments

X

A list of Track objects

timestamp

based on secs,mins,...

correction

the type of correction to be used in computing K-function

q

(optional) a numeric value between 0 and 1. quantile to be applied to calculate the variability area

sigma

method to be used in computing intensity function

...

passed to the arguments of Kinhom

Details

This calculates the variability area of K-function over time. If sigma=default, it calculates the variability area using the defaults of Kinhom, otherwise it first estimate the intensity function using the given sigma as bandwidth selection method and then using the estimated intensity function, it estimates the variability area.

Value

an object of class "KTrack".

Author(s)

Mohammad Mehdi Moradi <moradi@uji.es>

See Also

rTrack, as.Track.ppp, Kinhom

Examples

1
2
3
4
5
6
7
library(spatstat)
X <- list()
for(i in 1:100){
  m <- matrix(c(0,10,0,10),nrow=2,byrow = TRUE)
  X[[i]] <- rTrack(bbox = m,transform = TRUE)
}
Kinhom.Track(X,timestamp = "180 secs")

trajectories documentation built on July 1, 2020, 11:42 p.m.