Track.idw | R Documentation |
Movement smoothing of trajectory pattern
Track.idw(X,timestamp,epsilon=epsilon,...)
X |
a list of objects of class "Track" |
timestamp |
based on secs,mins, ... |
epsilon |
(optional) movements with length less than epsilon are not considered in the calculation |
... |
passed to arguments of fucntion idw in spatstat |
Performs spatial smoothing to the movements of a list of tracks.
an image of class "im".
Mohammad Mehdi Moradi <moradi@uji.es>
as.Track.arrow, idw
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)
}
Track.idw(X,timestamp="180 secs")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.