Learn R Programming

amt (version 0.2.2.0)

track_resample: Resample track

Description

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

Usage

track_resample(x, ...)

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

Value

A resampled track_xyt.

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.