Description Usage Arguments Details Value
trans_loss
returns the number of transmitters (or other group) remaining
each day of a given time period
1 | trans_loss(data, dates, group, stdate = NULL, enddate = NULL)
|
data |
Data frame. Detection data including date and time of detection, as well as a group identifier. |
dates |
Date- or POSIX-class. Date and time of detections. |
group |
Character. Group identifier (transmitter, fish ID, etc.). |
stdate |
Date- or POSIX-class. Which day you want the time series to start?
Defaults to day of earliest detection in the data set. Must be the same
class as |
enddate |
Date- or POSIX-class. |
This function finds the most-recent date of detection for each group (i.e., transmitter/fish). For each date in a given range, it then counts the number of fish that have a more-recent final detection date.
Output is a data frame containing the number of each group remaining at each date.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.