dupfilter_time | R Documentation |
Function to filter temporal duplicates that are associated with the same quality index.
dupfilter_time(sdata, step.time = 0, no.cores = 1)
sdata |
A data frame containing columns with the following headers: "id", "DateTime", "lat", "lon", "qi".
See the data |
step.time |
Consecutive locations less than or equal to step.time apart are considered temporal duplicates. Default is 0 hours. |
no.cores |
An integer specifying the number of cores used for parallel computing. Alternatively, type in 'detect' to use the maximum number of available cores minus one. |
This is a partial component of dupfilter
, although works as a stand-alone function.
First it identifies temporal duplicates by searching for consecutive locations that were obtained within step.time.
For each group of temporal duplicates, the function then retains a single fix that is nearest from a previous and to a subsequent location.
The input data frame is returned with temporal duplicates removed. The following columns are added: "pTime", "sTime", "pDist", "sDist". "pTime" and "sTime" are hours from a previous and to a subsequent fix respectively. "pDist" and "sDist" are straight distances in kilometres from a previous and to a subsequent fix respectively.
Takahiro Shimada
Shimada T, Limpus C, Jones R, Hazel J, Groom R, Hamann M (2016) Sea turtles return home after intentional displacement from coastal foraging areas. Marine Biology 163:1-14 \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s00227-015-2771-0")}
dupfilter
, dupfilter_exact
, dupfilter_qi
, dupfilter_space
, track_param
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.