prefilter: Prefilters extreme outlier locations in Argos data

Description Usage Arguments Value Author(s)

View source: R/prefilter.r

Description

Use diveMove::grpSpeedFilter to identify extreme outlier locations prior to feed-ing to ssmTMB::fit_ssm. Outliers are not removed but flagged with a logical vector so they can be ignored when feed-ing to ssmTMB::fit_ssm. prefilter also ensures data are temporally ordered.

Usage

1
prefilter(d, vmax = 10, w = 5)

Arguments

d

A data_frame containing the following columns: "id", "date", "lc", "lon", "lat". "id" is a unique identifier for the tracking dataset. "date" is the GMT date-time of each observation with the following format "2001-11-13 07:59:59". "lc" is the Argos location quality class of each observation, values in ascending order of quality are "Z", "B", "A", "0", "1", "2", "3". "lon" is the observed longitude in decimal degrees. "lat" is the observed latitude in decimal degress.

vmax

the speed threshold in m/s

w

window size

Value

A tbl_df grouped by individual id is returned.

Author(s)

Ian Jonsen


ianjonsen/slootr documentation built on May 18, 2019, 1:28 a.m.