speed_filter: Apply a speed filter to each deployment in the Argos dataset

View source: R/speed_filter.R

speed_filterR Documentation

Apply a speed filter to each deployment in the Argos dataset

Description

Apply a speed filter to each deployment in the Argos dataset

Usage

speed_filter(tag.data, ptt.table, deployments)

Arguments

tag.data

data frame; the raw(ish) data from the ARGOS download

ptt.table

data frame; file specified by log.file in import_argos

deployments

character; the unique deployment codes

Details

This function uses the R package argosfilter to filter the speeds for each tag sdafilter removes Z codes and keeps all other positions that meet a threshold speed criteria set in the function call, but note that it requires 5 or more points to run. Tracks with fewer than five points will be set to NA.

Note that this function will mark points as 'to remove' if sdafilter returns 'end_location'. See the Value section of sdafilter for more details.

Value

A data frame without the filtered Argos data


us-amlr/amlrgos documentation built on Nov. 10, 2024, 7:30 a.m.