avemove {trajectories} | R Documentation |
Average movement of trajectory pattern
Description
This returns the average movements of a lits of objects of class "Track" over time.
Usage
avemove(X,timestamp,epsilon=epsilon)
Arguments
X |
a list of some objects of class Track |
timestamp |
timestamp to calculate the pairwise distances between tarcks |
epsilon |
(optional) movements with length less than epsilon are not considered in the calculation |
Details
when analysying a list of tracks, avemove calculate the average of movements based on given timestamp.
Value
an object of class "numeric" or "arwlen".
Author(s)
Mohammad Mehdi Moradi <moradi@uji.es>
See Also
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)
}
avemove(X,timestamp = "30 secs")
}
[Package trajectories version 0.2-8 Index]