Description Usage Arguments Details Value
Returns a data.frame in the same format as the input but with points deemed unreliable set as NA
1 2 | gps.cleaner(speed.cutoff, hdop.cutoff, neighbour.number, neighbour.window,
epoch.length, dataset)
|
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 |
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
A data.frame in the same format as your input, but with GPS related variables set as NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.