dupfilter_qi: Filter temporal duplicates by quality index

View source: R/dupfilter_qi.R

dupfilter_qiR Documentation

Filter temporal duplicates by quality index


Function to filter temporal duplicates in tracking data by quality index.


dupfilter_qi(sdata = sdata, step.time = 0)



A data frame containing columns with the following headers: "id", "DateTime", "qi". See the data turtle for an example. The function filters the input data by a unique "id" (e.g. transmitter number, identifier for each animal). "DateTime" is the GMT date & time of each location in class POSIXct or character with the following format "2012-06-03 01:33:46". "qi" is the quality index associated with each location fix. The input values can be either the number of GPS satellites or Argos Location Classes. Argos Location Classes will be converted to numerical values, where "A", "B", "Z" will be replaced with "-1", "-2", "-3" respectively. The greater number indicates a higher accuracy.


Consecutive locations less than or equal to step.time apart are considered temporal duplicates. Default is 0 hours.


This function is a partial component of dupfilter, although works as a stand-alone function. It looks for temporal duplicates and retains a fix with the highest quality index.


The input data frame is returned with temporal duplicates removed by the quality index. The following columns are added: "pTime", "sTime". "pTime" and "sTime" are hours 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")}

See Also

dupfilter, dupfilter_exact, dupfilter_time, dupfilter_space, track_param

SDLfilter documentation built on April 17, 2023, 9:09 a.m.