powered by
This returns the average movements of a lits of objects of class "Track" over time.
avemove(X,timestamp,epsilon=epsilon)
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
an object of class "numeric" or "arwlen".
when analysying a list of tracks, avemove calculate the average of movements based on given timestamp.
as.Track.arrow
# NOT RUN { 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