austFilter(time, lon, lat, id=gl(1, 1, length(time)),
speedthres, distthres, window=5)
grpSpeedFilter(x, speedthres, window=5)
rmsDistFilter(x, speedthres, window=5, distthres)POSIXct object with dates and times for each
point.POSIXct vector; column
2: numeric longitude vector; column 3: numeric latitude vector.grpSpeedFilter and
rmsDistFilter can be used to perform only the first stage or
the second and third stages of the algorithm on their own,
respectively. Alternatively, the three filters can be run
sequentially using austFilter.The first stage of the filter is an iterative process which tests every point, except the first and last two, for travel velocity relative to the preceeding/following two points. If all these four speeds are greater than the specified threshold, the point is marked as failing the first stage. In this case, the next point is tested, removing the failing point from the set of test points.
The second stage runs McConnell et al. (1992) algorithm, which tests all the points that passed the first stage, in the same manner as above. The root mean square of all four speeds is calculated, and if it is greater than the specified threshold, the point is marked as failing the second stage.
The third stage is run simultaneously with the second stage, but if the mean distance of all four pairs of points is greater than the specified threshold, then the point is marked as failing the third stage.
Austin D, McMillan JI, Bowen D. 2003. A three-stage algorithm for filtering erroneous Argos satellite locations. Marine Mammal Science 19: 371-383.
distSpeed