gps.cleaner: Cleaning of GPS data

Description Usage Arguments Details Value

View source: R/gps.cleaner.R

Description

Returns a data.frame in the same format as the input but with points deemed unreliable set as NA

Usage

1
2
gps.cleaner(speed.cutoff, hdop.cutoff, neighbour.number, neighbour.window,
  epoch.length, dataset)

Arguments

speed.cutoff

The cut-off above which speed is deemed unreliable, in the same units as your speed variable

hdop.cutoff

THe cut-off above which your horizontal dilution of precision is deemed unreliable

neighbour.number

an integer: if you are removing isolated points, how few neighbours counts as isolated

neighbour.window

The width of a window in which to look for neighbours to define whether a point is isolated, in seconds

dataset

The dataset you need cleaned

Details

Cleans unreliable points base on speed, HDOP and number of neighbours. Assumes you have used the gps.acc.merger function, and your data is set up in that manner. If you have not that is not a problem, but the function expects variables named "longitude","latitude","speed","hdop","pdop","vdop" and "sumsnr". If you want all of those things set as NA, you need the variables labelled correctly

Value

A data.frame in the same format as your input, but with GPS related variables set as NA


dprocter/modeid documentation built on May 19, 2019, 8:21 a.m.