1 2 | fishpaths(x, TagID_col, Station_col, Datetime_col = "DateTimeUTC",
Threshold = 60 * 60)
|
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 (" \itemThresholddesired 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.