Track.idw: Movement smoothing of trajectory pattern

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/Trackstat.R

Description

Movement smoothing of trajectory pattern

Usage

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

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

Details

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

Value

an image of class "im".

Author(s)

Mohammad Mehdi Moradi <moradi@uji.es>

See Also

as.Track.arrow, idw

Examples

1
2
3
4
5
6
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")

Example output

real-valued pixel image
128 x 128 pixel array (ny, nx)
enclosing rectangle: [-0.01, 10.01] x [-0.01, 10.01] units

trajectories documentation built on March 16, 2021, 5:09 p.m.