Learn R Programming

trajectories (version 0.2-9)

Track.idw: Movement smoothing of trajectory pattern

Description

Movement smoothing of trajectory pattern

Usage

Track.idw(X,timestamp,epsilon=epsilon,...)

Value

an image of class "im".

Arguments

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

Author

Mohammad Mehdi Moradi <moradi@uji.es>

Details

Performs spatial smoothing to the movements of a list of tracks.

See Also

as.Track.arrow, idw

Examples

Run this code
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")
}

Run the code above in your browser using DataLab