centroid_fun: Calculates an average position using a moving average for the...

Description Usage Arguments Value Author(s)

View source: R/radiotrackingeu.R

Description

Calculates an average position using a moving average for the x and y coordinates.

Usage

1
centroid_fun(tri_data, time, s_time, method = "mean")

Arguments

tri_data

Data frame with triangulated positions. Expects columns timestamp,freq_tag, pos.X, pos.utm.X, pos.utm.Y.

time

aggregated time

s_time

Time window the average is applied to.

method

What average to be used: "mean" or "median".

Value

Data frame holding the moving average of the positions. Holds columns timestamp, freq_tag, pos.utm.X, pos.utm.Y, utm.zone, X, Y.

Author(s)

Dipl.-Phys. Ralf Zeidler, ralf.zeidler@fridata.de


radiotrackingeu/radiotrackingeu documentation built on May 20, 2019, 12:36 p.m.