fishpaths: fishpaths

Usage Arguments

View source: R/fishpaths.R

Usage

1
2
fishpaths(x, TagID_col, Station_col, Datetime_col = "DateTimeUTC",
  Threshold = 60 * 60)

Arguments

x

a dataframe of detections

TagID_col

column containing unique fish identification codes

Station_col

column containing unique station codes or names

Datetime_col

column containing date and time of detection, in POSIXct format ("

\item

Thresholddesired time threshold between station visits, in seconds. See details

The time threshold allows you to delineate the period of time that detections can be separated from each other at a receiver and still be considered part of the same "stay" at that receiver. The default is 1 hour ('60*60'). If you set Threhold = '60*60*2', that means that after a fish arrives at a receiver, all detections that occur at that receiver within 2 hours of the first arrival are considered part of the same "stay" at that receiver.

dataframe with fishpaths for each tagID fishpaths # Test library(ybp) f <- all69khz_grouped fishpaths(f, f$TagID, f$Station, "DateTimePST", 60*60*2) # time threshold of 2 hours


Myfanwy/fishtrackr documentation built on May 7, 2019, 5:15 p.m.