track_resample: Resample track

View source: R/track_resample.R

track_resampleR 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.


amt documentation built on June 25, 2024, 1:14 a.m.