track: Create coarse movement tracks.

Description Usage Arguments Details Value

View source: R/track.R

Description

tracks returns locations (station, array, etc.) in the order in which they were visited.

Usage

1
track(data, dates, ids)

Arguments

data

Data frame. Location of date/time and identifier values.

dates

character. Column name of date/time values within data.

ids

character. Column name(s) of identifiers within data. Multiple names may be provided in a vector: c('station', 'lat', 'long'), e.g.

Details

This function orders detection data by date/time and only returns detections where the fish moved from one identified location to another.

Value

Output is a data frame with date/times at unique combinations of provided IDs.


mhpob/TelemetryR documentation built on Sept. 28, 2020, 11:33 a.m.