powered by
This returns the average movements of a lits of objects of class "Track" over time.
avemove(X,timestamp,epsilon=epsilon)
an object of class "numeric" or "arwlen".
a list of some objects of class Track
timestamp to calculate the pairwise distances between tarcks
(optional) movements with length less than epsilon are not considered in the calculation
Mohammad Mehdi Moradi <moradi@uji.es>
when analysying a list of tracks, avemove calculate the average of movements based on given timestamp.
as.Track.arrow
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) } avemove(X,timestamp = "30 secs") }
Run the code above in your browser using DataLab