Skip to contents

[Experimental]

Filtering/smoothing tracks is standard practice to root out noise in movement data. Here we provide some filter functions to do this. The function expects the data to be in the standard format, containing at least x, y and time variables.

Usage

smooth_track(data, method = c("rolling_median"), window_width = 5)

Arguments

data

Data frame

method

Which smoothing method to use. Currently only rolling mean is implemented ("rolling_mean").

window_width

How many observations to use for rolling window filters (e.g. "rolling_mean" or "rolling_median").

Value

A movement data frame