track_resample {amt}R Documentation

Resample track

Description

Function to resample a track at a predefined sampling rate within some tolerance.

Usage

track_resample(x, ...)

## S3 method for class 'track_xyt'
track_resample(x, rate = hours(2), tolerance = minutes(15), start = 1, ...)

Arguments

x

A track_xyt.

...

Further arguments, none implemented.

rate

A lubridate Period, that indicates the sampling rate.

tolerance

A lubridate Period, that indicates the tolerance of deviations of the sampling rate.

start

A integer scalar, that gives the relocation at which the sampling rate starts.

Value

A resampled track_xyt.


[Package amt version 0.2.1.0 Index]